Lock your API client

PUT https://{{host}}/identity-management/v3/api-clients/self/lock

This operation locks your API client. You can't use the API client while it's locked. To unlock your client, run the Unlock an API client operation.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"accessToken":"akaa-ly55myu4fbtajqck-o7oubkbiytbjxywe","activeCredentialCount":1,"allowAccountSwitch":false,"authorizedUsers":["jsmith"],"clientDescription":"Provides access to the reporting data.","clientId":"xfz2n5d43mogkdim","clientName":"report_data","clientType":"CLIENT","createdBy":"jsmith","createdDate":"2022-05-13T20:04:35.000Z","isLocked":true,"notificationEmails":["jsmith@example.com"],"serviceConsumerToken":"akaa-lb77cyyf3guivns3-sxmd4sims2mihn67"}