users

POST /users/{userId}/personal-access-tokens

Changed on

Create a personal access token and return its API key using a browser session

Request

  • Base URL
    https://YOUR_ORG_ID.gatana.ai/api/v1
  • URL
    https://YOUR_ORG_ID.gatana.ai/api/v1/users/{userId}/personal-access-tokens
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization code: /oauth/authorize
      Token URL: /oauth/token

Path parameters

userIdstring required

ID of the user

Request body

namestring required

Display name of the token

profileIdsstring[]

Response

Successful response

Changes

    • info

      added to the / response property anyOf list for the response status

    • info

      removed from the / response property anyOf list for the response status

    • info

      added to the / response property anyOf list for the response status

    • info

      removed from the / response property anyOf list for the response status