Passer au contenu principal
POST
/
connections
/
{id}
/
scim-configuration
/
tokens
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.connections.scimConfiguration.tokens.create("id", {});
}
main();
{
  "token_id": "<string>",
  "token": "<string>",
  "scopes": [
    "<string>"
  ],
  "created_at": "<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

The id of the connection to create its SCIM token

Corps

SCIM Token

scopes
string[]

The scopes of the scim token

Minimum array length: 1

The token's scope

token_lifetime
integer | null

Lifetime of the token in seconds. Must be greater than 900

Réponse

The connection's SCIM token was created. See Response Schemas for schema.

token_id
string

The token's identifier

token
string

The scim client's token

scopes
string[]

The scopes of the scim token

The token's scope

created_at
string

The token's created at timestamp

valid_until
string

The token's valid until at timestamp