accessKeyManagement
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}
Request
- Base URLhttps://api.au.sumologic.com/api
- URLhttps://api.au.sumologic.com/api/v1/accessKeys/{id}
- AuthHTTP basic
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"
]
}Changes
No recorded changes to this operation across all 15 revisions of this API.