Delete Principal.
DELETE
/api/admin/machine-access/principals/{id}
Code sample: Shell / cURL
curl --request DELETE \ --url https://auth.example.com/api/admin/machine-access/principals/example \ --header 'Authorization: Bearer <token>'Delete Principal in the Machine Access area. The operation changes tenant state and should be protected by the documented admin authorization and audit controls.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”Machine access mutation result.
Media type application/json
object
success
boolean
Example
{ "success": true}default
Section titled “default ”Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}