Create an API Credential
Create a new API Credential for the specified Organization.
Path parameters
The <code>id</code> of the Organization where you want to create the API Credential.
Request body
Example request
{
"name": "Auto-Manage-Workspaces",
"description": "Used for automated Workspace management",
"enabled": true,
"roles": {
"workspaces": [
{
"workspaceId": "main"
}
]
},
"ipAllowlist": [
"10.0.0.1/32"
]
}Response
API Credential created
Example response
{
"name": "Auto-Manage-Workspaces",
"description": "Used for automated Workspace management",
"enabled": true,
"organizationId": "org-123",
"clientId": "clientIdabcd1234EXAMPLE",
"roles": {
"workspaces": [
{
"workspaceId": "main"
}
]
},
"ipAllowlist": [
"10.0.0.1/32"
],
"createdBy": "user@example.com",
"createdDate": "2024-08-15T12:34:56.000Z",
"lastUpdatedBy": "user@example.com",
"lastUpdatedDate": "2024-08-15T12:34:56.000Z",
"clientSecret": "clientSecretabcd1234EXAMPLE"
}Changes
Changed in 8 of the 41 revisions of this API.247
- ●
added the new
insightsenum value to the/////////////response property for the response statusresponse-property-enum-value-added
- ○
added the new
insightsenum value to the request property/////////////request-property-enum-value-added
- ●
- ○
added the new optional request property
new-optional-request-property
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ●
the
request property's maxLength was set to140request-property-max-length-set
- ●
- ○
added the non-success response with the status
response-non-success-status-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
added the pattern
^[A-Za-z0-9-]+$to the request propertyrequest-property-pattern-added
- ●
the
request property's maxLength was set to140request-property-max-length-set
- ○
the
response's property pattern^[A-Za-z0-9-]+$was added for the statusresponse-property-pattern-added
- ▲
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ●
removed the request property
request-property-removed
- ▲
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○