UserApiTokens

Create a new API Token for Console User

post/user/tokens

Request

  • Base URL
    https://app.dynamicauth.com/api/v0
  • Auth
    HTTP bearer

Request body

notestring required

Name or note to help identify this token and its use.

scopesTokenScopes[]

Scopes assigned to an API token which they will have access to.

Response

The newly created token, with the plaintext of the token. This is the only time when this plaintext will be revealed.

Example response

{
  "token": {
    "id": "95b11417-f18f-457f-8804-68e361f9164f",
    "rawToken": "dyn_aGLjTe3TUN40vSE75sTtgUx9AjIe0q4n3LFC",
    "checksum": "4n3LFC",
    "createdBy": {
      "id": "95b11417-f18f-457f-8804-68e361f9164f"
    },
    "active": true,
    "projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
    "projectEnvironment": {
      "id": "95b11417-f18f-457f-8804-68e361f9164f"
    }
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.