ServicePrincipal

DELETE /{tenantID}/servicePrincipals/{objectId}

Deletes a service principal from the directory.

Request

  • Base URL
    https://graph.windows.net
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

objectIdstring required

The object ID of the service principal to delete.

tenantIDstring required

The tenant ID.

Query parameters

api-versionstring required

Client API version.

Response

No Content

Changes

No recorded changes to this operation across all 17 revisions of this API.