capabilities.work

Unassign a token lifetime policy by reference query

One step with Microsoft Entra ID (formerly Azure AD). We can help you get access.

Get something done

Unassign a token lifetime policy by reference query

with Microsoft Entra ID (formerly Azure AD) · Identity & Access Management

Use Microsoft Entra ID (formerly Azure AD): its Applications Service Principals.token Lifetime Policy API lets you unassign a token lifetime policy by reference query in a single step (DELETE /servicePrincipals/{servicePrincipal-id}/tokenLifetimePolicies/$ref). capabilities.work can help you get signed up and connected.

  • Can I remove a token lifetime policy from a service principal by passing its @id as a query parameter?
  • What is the collection-level way to detach a token lifetime policy?
Say it to your AI assistant
  • Remove the policy referenced by {policy_ref} from service principal {sp} via the @id query.
  • Detach {policy_ref} from service principal {sp} using the tokenLifetimePolicies $ref collection.
For your developer

DELETE /servicePrincipals/{servicePrincipal-id}/tokenLifetimePolicies/$ref in Applications Service Principals.token Lifetime Policy API. Full spec on APIs.io.