Opaque Tokens

Create Opaque Token

Changed on

Mints an opaque token. The plaintext is returned exactly once and cannot be retrieved again.

post/api/cp/setup/opaque-tokens

Request

  • Base URL
    https://app.connexcs.com
  • Auth
    • OAuth 2
      Authorization code: https://auth.connexcs.com/authorize
      Token URL: https://auth.connexcs.com/token
    • or HTTP bearer

Request body

namestring

User-facing label

scopestring

Space-separated. Self-service creation may only grant: api:read, api:write

audiencestring

Resource to pin the token to. Omit for any allowed resource.

expires_ininteger

Lifetime in seconds. Omit for a non-expiring token.

Response

Successful response

unknown required

Changes

    • info

      the endpoint scheme security oAuth2 was added to the API

    • info

      the endpoint scheme security opaqueToken was added to the API

    • info

      the endpoint scheme security basicAuth was removed from the API