Skip to main content
PUT
/
account-users
/
{id}
Update account user
curl --request PUT \
  --url https://cookiechimp.com/api/v1/account-users/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "role": "admin"
}
'
{
  "id": "accuser123",
  "email": "admin@example.com",
  "role": "admin",
  "created_at": "2023-01-05T10:15:30Z",
  "updated_at": "2023-01-15T11:20:45Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cookiechimp.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API token obtained from the login endpoint or the dashboard

Path Parameters

id
string
required

ID of the resource

Body

application/json

Account user to update

role
enum<string>
Available options:
admin,
member

Response

Updated account user

role
enum<string>
required

Role of the account user

Available options:
admin,
member
id
string

Unique identifier for the account user

email
string<email>

Email address of the account user

created_at
string<date-time>

Date and time when the account user was created

updated_at
string<date-time>

Date and time when the account user was last updated