RevokeCredential
Service Principal
Revoke Credential
RevokeCredential revokes (deletes) a client credential for a service principal.
DELETE
RevokeCredential
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Path Parameters
The service principal ID.
The credential ID to revoke.
Body
application/json
The ServicePrincipalServiceRevokeCredentialRequest message.
Response
200 - application/json
Successful response
The ServicePrincipalServiceRevokeCredentialResponse message.