PUT
/
users
/
{id}
curl --request PUT \
  --url https://eu.sequencehq.com/api/users/{id} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sequenceAccountIds": [
    "c9e249d8-5ac9-49af-b9a3-0da9f0946c3d"
  ]
}'
{
  "id": "ca88f667-a17a-4c84-a8ee-8a4293834ff4",
  "sequenceAccountIds": [
    "c9e249d8-5ac9-49af-b9a3-0da9f0946c3d"
  ]
}

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Sequence-Version
enum<string>

Use this header to select an API version

Available options:
2024-07-30

Path Parameters

id
string
required

Sequence User ID

Body

application/json
sequenceAccountIds
string[]
required

A list of Sequence account IDs. These account IDs represent the accounts this user has access to.

Example:
["c9e249d8-5ac9-49af-b9a3-0da9f0946c3d"]

Response

201
application/json
Created
id
string
required

Unique user ID

Example:

"ca88f667-a17a-4c84-a8ee-8a4293834ff4"

sequenceAccountIds
string[]
required

A list of Sequence account IDs. These account IDs represent the accounts this user has access to.

Example:
["c9e249d8-5ac9-49af-b9a3-0da9f0946c3d"]