personal-access-tokens

Create a personal token

Changed on

The token value is returned only once.

post/v1/users/me/pats

Request

  • Base URL
    https://api.microsandbox.dev (the document declares no server; this is the origin it was published from)
  • URL
    https://api.microsandbox.dev/v1/users/me/pats
  • Auth
    HTTP bearer

Request body

expires_atstring date-time nullable

Optional ISO-8601 expiry. Omitted = no expiry.

namestring required

Human-readable label for the token (e.g. "macbook-cli").

Response

PAT created (raw token returned once)

created_atstring date-time required
expires_atstring date-time nullable
idstring uuid required
namestring required
prefixstring required
tokenstring required

Raw bearer token in the form msb_pat_<env>_<random>. Surfaced once.

Changes

    • info

      the endpoint scheme security session was added to the API

    • info

      the endpoint scheme security bearer was removed from the API