Update an API Credential
Update the specified API Credential.
Path parameters
The <code>id</code> of the Organization whose API Credential you want to update.
The <code>clientId</code> of the API Credential to update.
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 updated
Changes
Changed in 6 of the 41 revisions of this API.125
- ○
added the new
insightsenum value to the request propertyroles/allOf[ApiCredentialRolesSchema]/workspaces/items/products/items/product/allOf[ProductName]/request-property-enum-value-added
- ○
- ○
added the new optional request property
ipAllowlistnew-optional-request-property
- ○
- ○
added the non-success response with the status
404response-non-success-status-added
- ○
added the non-success response with the status
409response-non-success-status-added
- ○
- ●
the
namerequest property's maxLength was set to140request-property-max-length-set
- ●
- ▲
added the pattern
^[A-Za-z0-9-]+$to the request propertynamerequest-property-pattern-added
- ●
the
descriptionrequest property's maxLength was set to140request-property-max-length-set
- ▲
- ○
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
- ○