---
title: "Generate a SCIM bearer token"
method: POST
path: "/orgs/{orgId}/scim/token"
tags: ["orgs"]
---

# Generate a SCIM bearer token

`POST /orgs/{orgId}/scim/token`

Generates a new SCIM bearer token for the organization. If an active token already exists it is revoked first. The plaintext token is returned only once.

## Path parameters

- `orgId` integer, required

## Response `200`

Token created

- CreateScimTokenResponse
  - `endpointUrl` string
  - `maskedToken` string
  - `token` string

## Other responses

- `403` — Operation not allowed
- `404` — Feature not enabled or organization not found

---

[API](https://skmtc.net/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.net/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/13316c9fe5ff/schema)
