Microsoft Graph · Capability

Microsoft Graph OData Service for namespace microsoft.graph — policies.tokenLifetimePolicy

Microsoft Graph OData Service for namespace microsoft.graph — policies.tokenLifetimePolicy. 9 operations. Lead operation: Microsoft Graph List tokenLifetimePolicies. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphpolicies.tokenLifetimePolicy

What You Can Do

GET
Policieslisttokenlifetimepolicies — Microsoft Graph List tokenLifetimePolicies
/v1/policies/tokenlifetimepolicies
POST
Policiescreatetokenlifetimepolicies — Microsoft Graph Create tokenLifetimePolicy
/v1/policies/tokenlifetimepolicies
GET
Policiestokenlifetimepoliciesgetcount12df — Microsoft Graph Get the number of the resource
/v1/policies/tokenlifetimepolicies/count
GET
Policiesgettokenlifetimepolicies — Microsoft Graph Get tokenLifetimePolicy
/v1/policies/tokenlifetimepolicies/{tokenlifetimepolicy-id}
PATCH
Policiesupdatetokenlifetimepolicies — Microsoft Graph Update tokenlifetimepolicy
/v1/policies/tokenlifetimepolicies/{tokenlifetimepolicy-id}
DELETE
Policiesdeletetokenlifetimepolicies — Microsoft Graph Delete tokenLifetimePolicy
/v1/policies/tokenlifetimepolicies/{tokenlifetimepolicy-id}
GET
Policiestokenlifetimepolicieslistappliesto — Microsoft Graph List appliesTo
/v1/policies/tokenlifetimepolicies/{tokenlifetimepolicy-id}/appliesto
GET
Policiestokenlifetimepoliciesappliestogetcount3209 — Microsoft Graph Get the number of the resource
/v1/policies/tokenlifetimepolicies/{tokenlifetimepolicy-id}/appliesto/count
GET
Policiestokenlifetimepoliciesgetappliesto — Microsoft Graph Get appliesTo from policies
/v1/policies/tokenlifetimepolicies/{tokenlifetimepolicy-id}/appliesto/{directoryobject-id}

MCP Tools

microsoft-graph-list-tokenlifetimepolicies

Microsoft Graph List tokenLifetimePolicies

read-only idempotent
microsoft-graph-create-tokenlifetimepolicy

Microsoft Graph Create tokenLifetimePolicy

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-tokenlifetimepolicy

Microsoft Graph Get tokenLifetimePolicy

read-only idempotent
microsoft-graph-update-tokenlifetimepolicy

Microsoft Graph Update tokenlifetimepolicy

idempotent
microsoft-graph-delete-tokenlifetimepolicy

Microsoft Graph Delete tokenLifetimePolicy

idempotent
microsoft-graph-list-appliesto

Microsoft Graph List appliesTo

read-only idempotent
microsoft-graph-get-number-resource-2

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-appliesto-policies

Microsoft Graph Get appliesTo from policies

read-only idempotent

Capability Spec

microsoft-graph-policies-tokenlifetimepolicy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph OData Service for namespace microsoft.graph — policies.tokenLifetimePolicy
  description: 'Microsoft Graph OData Service for namespace microsoft.graph — policies.tokenLifetimePolicy. 9 operations.
    Lead operation: Microsoft Graph List tokenLifetimePolicies. Self-contained Naftiko capability covering one Microsoft Graph
    business surface.'
  tags:
  - Microsoft Graph
  - policies.tokenLifetimePolicy
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-graph-policies-tokenlifetimepolicy
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph OData Service for namespace microsoft.graph — policies.tokenLifetimePolicy business capability.
      Self-contained, no shared references.
    resources:
    - name: policies-tokenLifetimePolicies
      path: /policies/tokenLifetimePolicies
      operations:
      - name: policieslisttokenlifetimepolicies
        method: GET
        description: Microsoft Graph List tokenLifetimePolicies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: policiescreatetokenlifetimepolicies
        method: POST
        description: Microsoft Graph Create tokenLifetimePolicy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: policies-tokenLifetimePolicies-$count
      path: /policies/tokenLifetimePolicies/$count
      operations:
      - name: policiestokenlifetimepoliciesgetcount12df
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: policies-tokenLifetimePolicies-tokenLifetimePolicy-id
      path: /policies/tokenLifetimePolicies/{tokenLifetimePolicy-id}
      operations:
      - name: policiesgettokenlifetimepolicies
        method: GET
        description: Microsoft Graph Get tokenLifetimePolicy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: policiesupdatetokenlifetimepolicies
        method: PATCH
        description: Microsoft Graph Update tokenlifetimepolicy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: policiesdeletetokenlifetimepolicies
        method: DELETE
        description: Microsoft Graph Delete tokenLifetimePolicy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: policies-tokenLifetimePolicies-tokenLifetimePolicy-id-appliesTo
      path: /policies/tokenLifetimePolicies/{tokenLifetimePolicy-id}/appliesTo
      operations:
      - name: policiestokenlifetimepolicieslistappliesto
        method: GET
        description: Microsoft Graph List appliesTo
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: policies-tokenLifetimePolicies-tokenLifetimePolicy-id-appliesTo-$count
      path: /policies/tokenLifetimePolicies/{tokenLifetimePolicy-id}/appliesTo/$count
      operations:
      - name: policiestokenlifetimepoliciesappliestogetcount3209
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: policies-tokenLifetimePolicies-tokenLifetimePolicy-id-appliesTo-directoryObject-
      path: /policies/tokenLifetimePolicies/{tokenLifetimePolicy-id}/appliesTo/{directoryObject-id}
      operations:
      - name: policiestokenlifetimepoliciesgetappliesto
        method: GET
        description: Microsoft Graph Get appliesTo from policies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
  exposes:
  - type: rest
    namespace: microsoft-graph-policies-tokenlifetimepolicy-rest
    port: 8080
    description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — policies.tokenLifetimePolicy.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/policies/tokenlifetimepolicies
      name: policies-tokenlifetimepolicies
      description: REST surface for policies-tokenLifetimePolicies.
      operations:
      - method: GET
        name: policieslisttokenlifetimepolicies
        description: Microsoft Graph List tokenLifetimePolicies
        call: microsoft-graph-policies-tokenlifetimepolicy.policieslisttokenlifetimepolicies
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: policiescreatetokenlifetimepolicies
        description: Microsoft Graph Create tokenLifetimePolicy
        call: microsoft-graph-policies-tokenlifetimepolicy.policiescreatetokenlifetimepolicies
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/policies/tokenlifetimepolicies/count
      name: policies-tokenlifetimepolicies-count
      description: REST surface for policies-tokenLifetimePolicies-$count.
      operations:
      - method: GET
        name: policiestokenlifetimepoliciesgetcount12df
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-policies-tokenlifetimepolicy.policiestokenlifetimepoliciesgetcount12df
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/policies/tokenlifetimepolicies/{tokenlifetimepolicy-id}
      name: policies-tokenlifetimepolicies-tokenlifetimepolicy-id
      description: REST surface for policies-tokenLifetimePolicies-tokenLifetimePolicy-id.
      operations:
      - method: GET
        name: policiesgettokenlifetimepolicies
        description: Microsoft Graph Get tokenLifetimePolicy
        call: microsoft-graph-policies-tokenlifetimepolicy.policiesgettokenlifetimepolicies
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: policiesupdatetokenlifetimepolicies
        description: Microsoft Graph Update tokenlifetimepolicy
        call: microsoft-graph-policies-tokenlifetimepolicy.policiesupdatetokenlifetimepolicies
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: policiesdeletetokenlifetimepolicies
        description: Microsoft Graph Delete tokenLifetimePolicy
        call: microsoft-graph-policies-tokenlifetimepolicy.policiesdeletetokenlifetimepolicies
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/policies/tokenlifetimepolicies/{tokenlifetimepolicy-id}/appliesto
      name: policies-tokenlifetimepolicies-tokenlifetimepolicy-id-appliesto
      description: REST surface for policies-tokenLifetimePolicies-tokenLifetimePolicy-id-appliesTo.
      operations:
      - method: GET
        name: policiestokenlifetimepolicieslistappliesto
        description: Microsoft Graph List appliesTo
        call: microsoft-graph-policies-tokenlifetimepolicy.policiestokenlifetimepolicieslistappliesto
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/policies/tokenlifetimepolicies/{tokenlifetimepolicy-id}/appliesto/count
      name: policies-tokenlifetimepolicies-tokenlifetimepolicy-id-appliesto-count
      description: REST surface for policies-tokenLifetimePolicies-tokenLifetimePolicy-id-appliesTo-$count.
      operations:
      - method: GET
        name: policiestokenlifetimepoliciesappliestogetcount3209
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-policies-tokenlifetimepolicy.policiestokenlifetimepoliciesappliestogetcount3209
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/policies/tokenlifetimepolicies/{tokenlifetimepolicy-id}/appliesto/{directoryobject-id}
      name: policies-tokenlifetimepolicies-tokenlifetimepolicy-id-appliesto-directoryobject
      description: REST surface for policies-tokenLifetimePolicies-tokenLifetimePolicy-id-appliesTo-directoryObject-.
      operations:
      - method: GET
        name: policiestokenlifetimepoliciesgetappliesto
        description: Microsoft Graph Get appliesTo from policies
        call: microsoft-graph-policies-tokenlifetimepolicy.policiestokenlifetimepoliciesgetappliesto
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-graph-policies-tokenlifetimepolicy-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — policies.tokenLifetimePolicy.
      One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-graph-list-tokenlifetimepolicies
      description: Microsoft Graph List tokenLifetimePolicies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-policies-tokenlifetimepolicy.policieslisttokenlifetimepolicies
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-create-tokenlifetimepolicy
      description: Microsoft Graph Create tokenLifetimePolicy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-graph-policies-tokenlifetimepolicy.policiescreatetokenlifetimepolicies
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-number-resource
      description: Microsoft Graph Get the number of the resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-policies-tokenlifetimepolicy.policiestokenlifetimepoliciesgetcount12df
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-tokenlifetimepolicy
      description: Microsoft Graph Get tokenLifetimePolicy
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-policies-tokenlifetimepolicy.policiesgettokenlifetimepolicies
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-tokenlifetimepolicy
      description: Microsoft Graph Update tokenlifetimepolicy
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-graph-policies-tokenlifetimepolicy.policiesupdatetokenlifetimepolicies
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-tokenlifetimepolicy
      description: Microsoft Graph Delete tokenLifetimePolicy
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-policies-tokenlifetimepolicy.policiesdeletetokenlifetimepolicies
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-list-appliesto
      description: Microsoft Graph List appliesTo
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-policies-tokenlifetimepolicy.policiestokenlifetimepolicieslistappliesto
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-number-resource-2
      description: Microsoft Graph Get the number of the resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-policies-tokenlifetimepolicy.policiestokenlifetimepoliciesappliestogetcount3209
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-appliesto-policies
      description: Microsoft Graph Get appliesTo from policies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-policies-tokenlifetimepolicy.policiestokenlifetimepoliciesgetappliesto
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.