Skip to main content
POST
/
organizations
/
{id}
/
enterprise-connections
/
{connectionId}
/
scim
/
token
Generate SCIM token
curl --request POST \
  --url https://api.wacht.dev/organizations/{id}/enterprise-connections/{connectionId}/scim/token \
  --cookie session_id=
{
  "token": "wacht_scim_abc123def456...",
  "token_prefix": "wacht_scim...xyz",
  "enabled": true,
  "created_at": "2024-01-15T10:30:00Z",
  "last_used_at": "2024-01-16T14:20:00Z",
  "scim_base_url": "https://api.wacht.dev/scim/v2"
}

Authorizations

session_id
string
cookie
required

Session-based authentication using cookies

Path Parameters

id
string<uint64>
required

Organization ID

connectionId
string<uint64>
required

Response

SCIM token generated

token
string | null

Full SCIM bearer token (only shown on generation)

Example:

"wacht_scim_abc123def456..."

token_prefix
string

Token prefix for identification

Example:

"wacht_scim...xyz"

enabled
boolean

Whether SCIM is enabled

Example:

true

created_at
string<date-time>

Token creation time

Example:

"2024-01-15T10:30:00Z"

last_used_at
string<date-time> | null

Last usage time

Example:

"2024-01-16T14:20:00Z"

scim_base_url
string<uri>

SCIM endpoint URL

Example:

"https://api.wacht.dev/scim/v2"