PUT
/
account-users
/
{id}
curl --request PUT \
  --url https://cookiechimp.com/api/v1/account-users/{id} \
  --header 'Authorization: <api-key>' \
  --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"
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

ID of the resource

Body

application/json
Account user to update

The body is of type object.

Response

200
application/json
Updated account user

The response is of type object.