curl --request POST \
--url https://platform.kodexa.ai/api/labels \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"changeSequence": 123,
"color": "<string>",
"createdOn": "2023-11-07T05:31:56Z",
"id": "<string>",
"label": "<string>",
"name": "<string>",
"organization": {
"authGroupLink": {
"authGroup": "<string>"
},
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"defaultToPrivateTemplates": true,
"description": "<string>",
"enterpriseOrganization": true,
"features": {},
"hasImage": true,
"id": "<string>",
"memory": {
"orderedDashboards": [
"<string>"
]
},
"name": "<string>",
"organizationStatus": "<string>",
"properties": {},
"publicAccess": true,
"searchText": "<string>",
"slug": "<string>",
"stripeCustomerId": "<string>",
"supportAccess": true,
"supportAccessExpiresAt": "2023-11-07T05:31:56Z",
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
},
"organizationId": "<string>",
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
}
'{
"changeSequence": 123,
"color": "<string>",
"createdOn": "2023-11-07T05:31:56Z",
"id": "<string>",
"label": "<string>",
"name": "<string>",
"organization": {
"authGroupLink": {
"authGroup": "<string>"
},
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"defaultToPrivateTemplates": true,
"description": "<string>",
"enterpriseOrganization": true,
"features": {},
"hasImage": true,
"id": "<string>",
"memory": {
"orderedDashboards": [
"<string>"
]
},
"name": "<string>",
"organizationStatus": "<string>",
"properties": {},
"publicAccess": true,
"searchText": "<string>",
"slug": "<string>",
"stripeCustomerId": "<string>",
"supportAccess": true,
"supportAccessExpiresAt": "2023-11-07T05:31:56Z",
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
},
"organizationId": "<string>",
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
}Creates a new Label. Labels are used for categorizing and tagging resources within an organization.
curl --request POST \
--url https://platform.kodexa.ai/api/labels \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"changeSequence": 123,
"color": "<string>",
"createdOn": "2023-11-07T05:31:56Z",
"id": "<string>",
"label": "<string>",
"name": "<string>",
"organization": {
"authGroupLink": {
"authGroup": "<string>"
},
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"defaultToPrivateTemplates": true,
"description": "<string>",
"enterpriseOrganization": true,
"features": {},
"hasImage": true,
"id": "<string>",
"memory": {
"orderedDashboards": [
"<string>"
]
},
"name": "<string>",
"organizationStatus": "<string>",
"properties": {},
"publicAccess": true,
"searchText": "<string>",
"slug": "<string>",
"stripeCustomerId": "<string>",
"supportAccess": true,
"supportAccessExpiresAt": "2023-11-07T05:31:56Z",
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
},
"organizationId": "<string>",
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
}
'{
"changeSequence": 123,
"color": "<string>",
"createdOn": "2023-11-07T05:31:56Z",
"id": "<string>",
"label": "<string>",
"name": "<string>",
"organization": {
"authGroupLink": {
"authGroup": "<string>"
},
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"defaultToPrivateTemplates": true,
"description": "<string>",
"enterpriseOrganization": true,
"features": {},
"hasImage": true,
"id": "<string>",
"memory": {
"orderedDashboards": [
"<string>"
]
},
"name": "<string>",
"organizationStatus": "<string>",
"properties": {},
"publicAccess": true,
"searchText": "<string>",
"slug": "<string>",
"stripeCustomerId": "<string>",
"supportAccess": true,
"supportAccessExpiresAt": "2023-11-07T05:31:56Z",
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
},
"organizationId": "<string>",
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
}API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.
Created Label