> ## Documentation Index
> Fetch the complete documentation index at: https://auth0.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Obtenir un jeton SCIM de fourniture

> Récupérer les métadonnées du jeton SCIM indiqué par son ID, associé à la configuration de fourniture du fournisseur d’identité indiqué par son ID pour cette Organization. La valeur du jeton n’est jamais renvoyée.



## OpenAPI

````yaml docs/fr-ca/oas/myorganization/myorganization-api-oas.json GET /identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id}
openapi: 3.1.0
info:
  title: My Organization API
  description: API My organisation
  termsOfService: https://auth0.com/web-terms/
  version: 1.0.0
  license:
    name: UNLICENSED
    url: https://auth0.com
servers:
  - url: https://{tenantDomain}/my-org/v1
    variables:
      tenantDomain:
        default: '{TENANT}.auth0.com'
        description: Domaine du tenant Auth0
  - url: https://{tenantDomain}/my-org
    variables:
      tenantDomain:
        default: '{TENANT}.auth0.com'
        description: Domaine du tenant Auth0
security: []
tags:
  - name: config
    description: Configuration
    x-displayName: Configuration
  - name: orgManagement
    description: Gérez votre organisation.
    x-displayName: Organization Management
  - name: orgDetails
    description: Gérez les détails liés à votre organisation.
    x-displayName: Organization Details Management
  - name: idpManagement
    description: Gérer les fournisseurs d’identité de votre organisation.
    x-displayName: Identity Provider Management
  - name: userStoresManagement
    description: Gérer les magasins d'utilisateurs de votre organisation.
    x-displayName: User Stores Management
  - name: orgDomainManagement
    description: Gérer les domaines de votre organisation
    x-displayName: Domain Management
  - name: orgMemberManagement
    description: Gérer les membres de votre organisation
    x-displayName: Member Management
  - name: clientGrantManagement
    description: Gérer les autorisations client de votre organisation
    x-displayName: Client Grant Management
  - name: clientManagement
    description: Gérer les clients API de votre organisation
    x-displayName: Client Management
  - name: roles
    description: Gérer les rôles de votre organisation
    x-displayName: Roles
  - name: orgGroupManagement
    description: Gérer les groupes de connexion de votre organisation
    x-displayName: Group Management
paths:
  /identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id}:
    get:
      tags:
        - idpManagement
      summary: Obtenir un jeton SCIM de fourniture
      description: >-
        Récupérer les métadonnées du jeton SCIM indiqué par son ID, associé à la
        configuration de fourniture du fournisseur d’identité indiqué par son ID
        pour cette Organization. La valeur du jeton n’est jamais renvoyée.
      operationId: GetIdpProvisioningScimToken
      parameters:
        - $ref: '#/components/parameters/IdpIdPathParameter'
        - $ref: '#/components/parameters/IdpProvisioningScimTokenIdPathParameter'
      responses:
        '200':
          $ref: '#/components/responses/GetIdpProvisioningScimTokenResponse'
        '400':
          $ref: '#/components/responses/ValidationErrorBadRequestResponse'
        '401':
          $ref: '#/components/responses/ClientErrorUnauthorizedResponse'
        '403':
          $ref: '#/components/responses/ClientErrorInsufficientScopeResponse'
        '404':
          $ref: '#/components/responses/ClientErrorNotFoundScimTokenResponse'
        '429':
          $ref: '#/components/responses/ClientErrorTooManyRequestsResponse'
      security:
        - OAuth2ClientCredentials:
            - read:my_org:identity_providers_scim_tokens
        - OAuth2AuthCode:
            - read:my_org:identity_providers_scim_tokens
      x-codeSamples:
        - lang: typescript
          label: Get a Provisioning SCIM token
          source: |
            import { MyOrganizationClient } from "@auth0/myorganization-js";

            async function main() {
                const client = new MyOrganizationClient({
                    domain: "{YOUR_DOMAIN}",
                    token: "<token>",
                });
                await client.organization.identityProviders.provisioning.scimTokens.get("idp_id", "idp_scim_token_id");
            }
            main();
        - lang: javascript
          label: Get a Provisioning SCIM token
          source: |
            import { MyOrganizationClient } from "@auth0/myorganization-js";

            async function main() {
                const client = new MyOrganizationClient({
                    domain: "{YOUR_DOMAIN}",
                    token: "<token>",
                });
                await client.organization.identityProviders.provisioning.scimTokens.get("idp_id", "idp_scim_token_id");
            }
            main();
        - lang: go
          label: Get a Provisioning SCIM token
          source: |
            package example

            import (
                context "context"

                client "github.com/auth0/myorganization-go/v2/client"
                option "github.com/auth0/myorganization-go/v2/option"
            )

            func do() {
                c, err := client.New(
                    "{YOUR_DOMAIN}",
                    option.WithToken(
                        "<token>",
                    ),
                )
                if err != nil {
                    return
                }
                c.Organization.IdentityProviders.Provisioning.SCIMTokens.Get(
                    context.TODO(),
                    "idp_id",
                    "idp_scim_token_id",
                )
            }
        - lang: csharp
          label: Get a Provisioning SCIM token
          source: |
            using Auth0.MyOrganizationApi;
            using System.Threading.Tasks;

            public partial class Examples
            {
                public async Task Example() {
                    var client = new MyOrganizationClient(new MyOrganizationClientOptions
                    {
                        Domain = "{YOUR_DOMAIN}",
                        TokenProvider = new DelegateTokenProvider(_ => Task.FromResult("<token>"))
                    });

                    await client.Organization.IdentityProviders.Provisioning.ScimTokens.GetAsync(
                        "idp_id",
                        "idp_scim_token_id"
                    );
                }

            }
        - lang: java
          label: Get a Provisioning SCIM token
          source: |-
            package com.example.usage;

            import com.auth0.client.myorganization.auth.MyOrganizationClient;

            public class Example {
                public static void main(String[] args) {
                    MyOrganizationClient client = MyOrganizationClient
                        .builder()
                        .domain("{YOUR_DOMAIN}")
                        .token("<token>")
                        .build();

                    client.organization().identityProviders().provisioning().scimTokens().get("idp_id", "idp_scim_token_id");
                }
            }
        - lang: python
          label: Get a Provisioning SCIM token
          source: |
            from auth0.myorganization import MyOrganizationClient

            client = MyOrganizationClient(
                domain="{YOUR_DOMAIN}",
                token="<token>",
            )

            client.organization.identity_providers.provisioning.scim_tokens.get(
                idp_id="idp_id",
                idp_scim_token_id="idp_scim_token_id",
            )
components:
  parameters:
    IdpIdPathParameter:
      in: path
      name: idp_id
      required: true
      schema:
        $ref: '#/components/schemas/IdpId'
    IdpProvisioningScimTokenIdPathParameter:
      in: path
      name: idp_scim_token_id
      required: true
      schema:
        $ref: '#/components/schemas/IdpProvisioningScimTokenId'
  responses:
    GetIdpProvisioningScimTokenResponse:
      description: >-
        Les métadonnées du jeton SCIM de fourniture ont été récupérées avec
        succès.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
        Retry-After:
          $ref: '#/components/headers/Retry-After'
        X-Auth0-Error-Kind:
          $ref: '#/components/headers/X-Auth0-Error-Kind'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/GetIdpProvisioningScimTokenResponseContent'
          examples:
            getIdpProvisioningScimTokenResponseExample:
              $ref: '#/components/examples/GetIdpProvisioningScimTokenResponseExample'
    ValidationErrorBadRequestResponse:
      description: Corps de la requête invalide. Le message varie selon la cause.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponseContent'
          examples:
            validationErrorExample:
              $ref: '#/components/examples/ErrorValidationExample'
    ClientErrorUnauthorizedResponse:
      description: "Non autorisé\_: jeton manquant, invalide ou expiré."
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponseContent'
          examples:
            errorMissingTokenExample:
              $ref: '#/components/examples/ErrorMissingTokenExample'
    ClientErrorInsufficientScopeResponse:
      description: Scope insuffisant.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponseContent'
          examples:
            errorInsufficientScopeExample:
              $ref: '#/components/examples/ErrorInsufficientScopeExample'
    ClientErrorNotFoundScimTokenResponse:
      description: Ressource introuvable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponseContent'
          examples:
            errorOrgNotFoundExample:
              $ref: '#/components/examples/ErrorOrgNotFoundExample'
            ErrorIdpNotFoundExample:
              $ref: '#/components/examples/ErrorIdpNotFoundExample'
            ErrorScimTokenNotFoundExample:
              $ref: '#/components/examples/ErrorScimTokenNotFoundExample'
    ClientErrorTooManyRequestsResponse:
      description: >-
        Trop de requêtes. Vérifiez les en-têtes X-RateLimit-Limit,
        X-RateLimit-Remaining et X-RateLimit-Reset.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
        Retry-After:
          $ref: '#/components/headers/Retry-After'
        X-Auth0-Error-Kind:
          $ref: '#/components/headers/X-Auth0-Error-Kind'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponseContent'
          examples:
            errorEndpointRateLimitExample:
              $ref: '#/components/examples/ErrorEndpointRateLimitExample'
  schemas:
    IdpId:
      type: string
      description: Identifiant du fournisseur d’identité.
      readOnly: true
      pattern: ^con_[A-Za-z0-9]{16}$
    IdpProvisioningScimTokenId:
      type: string
      description: Identifiant du jeton de provisionnement SCIM du fournisseur d’identité.
      readOnly: true
      pattern: ^tok_[A-Za-z0-9]{16}$
    GetIdpProvisioningScimTokenResponseContent:
      $ref: '#/components/schemas/IdpScimTokenRead'
    ValidationErrorResponseContent:
      type: object
      additionalProperties: false
      required:
        - type
        - status
        - title
        - validation_errors
      properties:
        type:
          type: string
          description: URI qui décrit l’erreur.
          format: uri
        status:
          type: integer
          description: Le code d’état HTTP résultant de la requête.
        title:
          type: string
          description: Brève description de l’erreur.
        validation_errors:
          type: array
          items:
            $ref: '#/components/schemas/ValidationErrorDetail'
    ErrorResponseContent:
      type: object
      additionalProperties: false
      required:
        - type
        - status
        - title
        - detail
      properties:
        type:
          type: string
          description: URI qui décrit l’erreur.
          format: uri
        status:
          type: integer
          description: Le code d’état HTTP résultant de la requête.
        title:
          type: string
          description: Brève description de l’erreur.
        detail:
          type: string
          description: Description détaillée de l’erreur.
    IdpScimTokenRead:
      type: object
      allOf:
        - $ref: '#/components/schemas/IdpScimTokenBase'
      required:
        - token_id
        - created_at
    ValidationErrorDetail:
      type: object
      additionalProperties: false
      required:
        - detail
      properties:
        detail:
          type: string
          description: Description détaillée de l’erreur.
        field:
          type: string
          description: Nom du paramètre non valide.
        pointer:
          type: string
          description: >-
            Pointeur JSON indiquant l’emplacement exact de l’erreur dans un
            document JSON en cours de validation.
        source:
          type: string
          description: >-
            Précise la source de l’erreur (p. ex., le corps, la requête ou
            l’en-tête dans un message HTML).
    IdpScimTokenBase:
      type: object
      properties:
        token_id:
          type: string
          description: L’identifiant du jeton.
        scopes:
          type: array
          description: Les scopes du jeton.
          items:
            type: string
        created_at:
          type: string
          description: L’horodatage de création du jeton.
          format: date-time
        valid_until:
          type: string
          description: >-
            L’horodatage indiquant jusqu’à quand le jeton est valide (n’existe
            pas pour les jetons sans expiration).
          format: date-time
      required:
        - token_id
        - created_at
  headers:
    X-RateLimit-Limit:
      description: >-
        Le nombre de requêtes autorisées dans la fenêtre actuelle de limite de
        débit.
      schema:
        type: integer
    X-RateLimit-Remaining:
      description: >-
        Le nombre de requêtes restantes dans la fenêtre actuelle de limite de
        débit.
      schema:
        type: integer
    X-RateLimit-Reset:
      description: >-
        L’horodatage Unix indiquant quand la fenêtre actuelle de limite de débit
        est réinitialisée.
      schema:
        type: integer
    Retry-After:
      description: >-
        Le nombre de secondes que le client doit attendre avant d’effectuer une
        nouvelle requête.
      schema:
        type: integer
    X-Auth0-Error-Kind:
      description: >-
        Indicateur signalant que la limite de débit dépassée est une limite
        globale (par tenant).
      schema:
        type: string
        enum:
          - global-rate-limit
  examples:
    GetIdpProvisioningScimTokenResponseExample:
      value:
        token_id: tok_tuz8H9hWQ8LaCkdh
        scopes: []
        created_at: '2025-04-11T20:11:45.431Z'
        valid_until: '2025-04-11T20:26:45.431Z'
    ErrorValidationExample:
      value:
        type: https://auth0.com/api-errors#A0E-400-0003
        status: 400
        title: Validation Error
        validation_errors:
          - detail: is required
            field: data/property_name
            pointer: /property_name
            source: params
    ErrorMissingTokenExample:
      value:
        type: https://auth0.com/api-errors#A0E-401-0002
        status: 401
        title: Missing Token
        detail: No auth token provided.
    ErrorInsufficientScopeExample:
      value:
        type: https://auth0.com/api-errors#A0E-403-0002
        status: 403
        title: Insufficient Scope
        detail: >-
          The auth token lacks the required scope: Check the API documentation
          for the required scopes for this endpoint.
    ErrorOrgNotFoundExample:
      value:
        type: https://auth0.com/api-errors#A0E-404-0002
        status: 404
        title: Resource Not Found
        detail: The organization does not exist.
    ErrorIdpNotFoundExample:
      value:
        type: https://auth0.com/api-errors#A0E-404-0002
        status: 404
        title: Resource Not Found
        detail: The IdP does not exist.
    ErrorScimTokenNotFoundExample:
      value:
        type: https://auth0.com/api-errors#A0E-404-0002
        status: 404
        title: Resource Not Found
        detail: >-
          SCIM token tok_tuz8H9hWQ8LaCkdh was not found for identity provider
          con_2CZPv6IY0gWzDaQJ
    ErrorEndpointRateLimitExample:
      value:
        type: https://auth0.com/api-errors#A0E-429-0003
        status: 429
        title: Endpoint Rate Limit Exceeded
        detail: The endpoint request limit has been exceeded.
  securitySchemes:
    OAuth2ClientCredentials:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: /oauth/token
          x-form-parameters:
            audience: /myorg-api/v1/
          scopes:
            read:my_org:configuration: Read organization configuration
            read:my_org:details: Read organization details
            update:my_org:details: Update organization details
            read:my_org:identity_providers: Read identity providers for organization
            create:my_org:identity_providers: Create identity provider for organization
            update:my_org:identity_providers: Update identity provider for organization
            delete:my_org:identity_providers: Delete identity provider for organization
            update:my_org:identity_providers_detach: Detach identity provider from organization
            create:my_org:identity_providers_domains: Associate organization domain with identity provider
            delete:my_org:identity_providers_domains: Remove organization domain from identity provider
            create:my_org:domains: Create domain for organization
            read:my_org:domains: Read domains for organization
            update:my_org:domains: Update domain for organization
            delete:my_org:domains: Delete domain for organization
            create:my_org:identity_providers_provisioning: Create provisioning configuration for identity provider
            update:my_org:identity_providers_provisioning: Update provisioning configuration for identity provider
            read:my_org:identity_providers_provisioning: Read provisioning configuration for identity provider
            delete:my_org:identity_providers_provisioning: Delete provisioning configuration for identity provider
            create:my_org:identity_providers_tests: Start identity provider tests for organization
            read:my_org:identity_providers_tests: Read identity provider tests for organization
            create:my_org:identity_providers_scim_tokens: Create a provisioning SCIM token for this identity provider
            read:my_org:identity_providers_scim_tokens: List the provisioning SCIM tokens for this identity provider
            delete:my_org:identity_providers_scim_tokens: Delete a provisioning SCIM configuration for an identity provider
            read:my_org:member_invitations: List member invitations for organization
            create:my_org:member_invitations: Create member invitations for organization
            delete:my_org:member_invitations: Delete member invitations for organization
            read:my_org:members: List members for organization
            delete:my_org:memberships: Delete members from organization without deleting underlying users
            read:my_org:member_roles: List Roles for members in organization
            create:my_org:member_roles: Create Roles for members in organization
            delete:my_org:member_roles: Delete Roles from members for organization
            create:my_org:client_grants: Create client grants for client in organization
            create:my_org:clients: Create API clients for organization
            read:my_org:clients: Read API clients for organization
            delete:my_org:clients: Delete API clients for organization
            read:my_org:user_stores: Read user stores for an organization
            delete:my_org:organizations: Delete this organization
            read:my_org:groups: List connection groups for organization
            read:my_org:group_roles: List roles for a group in organization
            create:my_org:group_roles: Assign roles to a group in organization
            delete:my_org:group_roles: Remove roles from a group in organization
    OAuth2AuthCode:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: /authorize
          tokenUrl: /oauth/token
          x-form-parameters:
            audience: /myorg-api/v1/
          scopes:
            read:my_org:configuration: Read organization configuration
            read:my_org:details: Read organization details
            update:my_org:details: Update organization details
            read:my_org:identity_providers: Read identity providers for organization
            create:my_org:identity_providers: Create identity provider for organization
            update:my_org:identity_providers: Update identity provider for organization
            delete:my_org:identity_providers: Delete identity provider for organization
            update:my_org:identity_providers_detach: Detach identity provider from organization
            create:my_org:identity_providers_domains: Associate organization domain with identity provider
            delete:my_org:identity_providers_domains: Remove organization domain from identity provider
            create:my_org:domains: Create domain for organization
            read:my_org:domains: Read domains for organization
            update:my_org:domains: Update domain for organization
            delete:my_org:domains: Delete domain for organization
            create:my_org:identity_providers_provisioning: Create provisioning configuration for identity provider
            update:my_org:identity_providers_provisioning: Update provisioning configuration for identity provider
            read:my_org:identity_providers_provisioning: Read provisioning configuration for identity provider
            delete:my_org:identity_providers_provisioning: Delete provisioning configuration for identity provider
            create:my_org:identity_providers_tests: Start identity provider tests for organization
            read:my_org:identity_providers_tests: Read identity provider tests for organization
            create:my_org:identity_providers_scim_tokens: Create a provisioning SCIM token for this identity provider
            read:my_org:identity_providers_scim_tokens: List the provisioning SCIM tokens for this identity provider
            delete:my_org:identity_providers_scim_tokens: Delete a provisioning SCIM configuration for an identity provider
            read:my_org:member_invitations: List member invitations for organization
            create:my_org:member_invitations: Create member invitations for organization
            delete:my_org:member_invitations: Delete member invitations for organization
            read:my_org:members: List members for organization
            delete:my_org:memberships: Delete members from organization without deleting underlying users
            read:my_org:member_roles: List Roles for members in organization
            create:my_org:member_roles: Create Roles for members in organization
            delete:my_org:member_roles: Delete Roles from members for organization
            create:my_org:client_grants: Create client grants for client in organization
            create:my_org:clients: Create API clients for organization
            read:my_org:clients: Read API clients for organization
            delete:my_org:clients: Delete API clients for organization
            read:my_org:user_stores: Read user stores for an organization
            delete:my_org:organizations: Delete this organization
            read:my_org:groups: List connection groups for organization
            read:my_org:group_roles: List roles for a group in organization
            create:my_org:group_roles: Assign roles to a group in organization
            delete:my_org:group_roles: Remove roles from a group in organization

````