API Reference
Reference for the API
Update account user by ID
cURL
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": "[email protected]", "role": "admin", "created_at": "2023-01-05T10:15:30Z", "updated_at": "2023-01-15T11:20:45Z" }
ID of the resource
Account user to update
The body is of type object.
object
Updated account user
The response is of type object.
Was this page helpful?