v1
latestOpenAPI 3.0.02026-08-064311,0881.3 MBserviceAccountManagement
Update an access key of a service account.
Updates the properties of existing accessKey by Id of a service account.
put/v1/serviceAccounts/{serviceAccountId}/accessKeys/{accessId}
Path parameters
serviceAccountIdstring required
Identifier of the service account.
accessIdstring required
The id of an access key to update of a service account.
Request body
Example request
{
"disabled": true,
"corsHeaders": [
"https://my-app.com",
"https://mail.my-app.com"
],
"scopes": [
"manageUsersAndRoles",
"viewCollectors"
]
}Response
Access key of a service account 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"
]
}