v1

latestOpenAPI 3.0.02026-07-145658104.5 KB
ServicePrincipal

Updates a service principal in the directory.

patch/{tenantID}/servicePrincipals/{objectId}

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.

Request body

accountEnabledboolean

whether or not the service principal account is enabled

appRoleAssignmentRequiredboolean

Specifies whether an AppRoleAssignment to a user or group is required before Azure AD will issue a user or access token to the application.

servicePrincipalTypestring

the type of the service principal

tagsstring[]

Optional list of tags that you can apply to your service principals. Not nullable.

Response

No Content