Passer au contenu principal
GET
https://{tenantDomain}/api/v2
/
connections
/
{id}
/
scim-configuration
/
tokens
Go
package example

import (
    context "context"

    client "github.com/auth0/go-auth0/management/management/client"
    option "github.com/auth0/go-auth0/management/management/option"
)

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.Connections.ScimConfiguration.Tokens.Get(
        context.TODO(),
        "id",
    )
}
[
  {
    "created_at": "<string>",
    "last_used_at": "<string>",
    "scopes": [
      "<string>"
    ],
    "token_id": "<string>",
    "valid_until": "<string>"
  }
]

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de chemin

id
string
requis

L’id de la connexion pour récupérer sa configuration SCIM

Réponse

Les jetons SCIM de la connexion ont été récupérés. Consultez les schémas de réponse pour le schéma correspondant.

created_at
string

L’horodatage de création du jeton

last_used_at
string

L’horodatage de la dernière utilisation du jeton

scopes
string[]

Les scopes du jeton SCIM

Le scope du jeton

token_id
string

L’identifiant du jeton

valid_until
string

L’horodatage de fin de validité du jeton