Saltar al contenido principal
POST
/
identity-providers
/
{idp_id}
/
provisioning
/
scim-tokens
Crear un token SCIM de Provisioning
curl --request POST \
  --url https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "token_lifetime": 86400
}
'
{
  "created_at": "2025-04-11T20:11:45.431Z",
  "token": "tok_tuz8H9hWQ8LaCkdh....",
  "token_id": "tok_tuz8H9hWQ8LaCkdh",
  "valid_until": "2025-04-12T20:11:45.431Z"
}

Autorizaciones

Authorization
string
header
requerido

The access token received from the authorization server in the OAuth 2.0 flow.

Parámetros de ruta

idp_id
string
requerido
read-only

Identificador del proveedor de identidad.

Pattern: ^con_[A-Za-z0-9]{16}$

Cuerpo

application/json
token_lifetime
integer

Duración del token en segundos. No la configure para tokens que no expiran.

Respuesta

El token SCIM de Provisioning se creó correctamente.

created_at
string<date-time>
requerido

La marca de tiempo de creación del token.

token_id
string
requerido

El identificador del token.

token
string
requerido

El token del cliente SCIM.

scopes
string[]

Los alcances del token.

valid_until
string<date-time>

La marca de tiempo de validez del token (no existirá para los tokens que no expiran).