Users

POST /api/v3/users/{user_id}/credentials/

Changed on

Associate a set of development credentials with a given user. Authentication: Requires a personal access token (PAT) for the user specified by user_id. The authenticated user must match user_id. Service tokens are not supported, including Account Admin service tokens. An admin cannot use their PAT to manage another user's credentials.

Request

  • Base URL
    https://cloud.getdbt.com
  • Auth
    HTTP bearer

Path parameters

user_idinteger required

Request body

account_idinteger required

The account the user credentials are associated with

user_idinteger required

The user the user credentials are associated with

project_idinteger required

The project the user credentials are associated with

credentials_idinteger required

The credentials the user is associated with

stateinteger required

A value of 1 means this entity is active and a value of 2 means this entity is deleted

Example request

{
  "state": 1
}

Response

Example response

{
  "data": {
    "state": 1,
    "credentials": {
      "state": 1
    },
    "project": {
      "state": 1
    }
  }
}

Changes

    • breaking

      for the path request parameter user_id, the format changed from no format to int64

    • warning

      added the new clickhouse_v0 enum value to the ////////// response property for the response status