v1
latestOpenAPI 3.0.02026-08-064311,0881.3 MBaccessKeyManagement
Update an access key.
Updates the properties of existing accessKey by accessId. It can be used to enable or disable the access key and to update the corsHeaders list.
put/v1/accessKeys/{id}
Path parameters
idstring required
The accessId of the access key to update.
Request body
Example request
{
"disabled": true,
"corsHeaders": [
"https://my-app.com",
"https://mail.my-app.com"
],
"scopes": [
"manageUsersAndRoles",
"viewCollectors"
]
}Response
Access key updated successfully.
Example response
{
"id": "su0w3Q37CBzHUM",
"label": "collector access key",
"corsHeaders": [
"https://my-app.com",
"https://mail.my-app.com"
],
"createdAt": "2018-10-16T09:10:00Z",
"createdBy": "0000000006743FDD",
"modifiedAt": "2018-10-16T09:10:00Z",
"modifiedBy": "0000000006743FDD",
"serviceAccountId": "0000000006743FDA",
"lastUsed": "2018-10-16T09:10:00Z",
"scopes": [
"manageUsersAndRoles",
"viewCollectors"
],
"effectiveScopes": [
"manageUsersAndRoles",
"viewCollectors"
]
}