v1
latestOpenAPI 3.0.02026-08-064311,0881.3 MBaccessKeyManagement
Rotate the access key secret
Generates a new secret for the access key that is passed in the call, keeping the same access ID.
put/v1/accessKeys/{id}/rotate
Path parameters
idstring required
The accessId of the access key to rotate the secret for.
Response
Access key secret rotated 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"
],
"key": "F9GZvb4fISxUZHM7pqHCsGXGWf4OArgmt9Tz8ewZ"
}