put https://{hostname}/identity-management/v3/api-clients//lock
This operation locks an API client, preventing it from making requests on the network. You can't use the API client while it's locked. To unlock a client, run the Unlock an API client operation.