API Reference
Reference for the API
Update account invitation by ID
curl --request PUT \ --url https://cookiechimp.com/api/v1/account-invitations/{id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "role": "admin" }'
{ "id": "inv123", "email": "newmember@cookiechimp.com", "role": "member", "invited_by_type": "API", "created_at": "2023-01-25T09:30:20Z", "updated_at": "2023-01-25T09:30:20Z" }
ID of the resource
Account invitation to update
The body is of type object.
object
Updated account invitation
The response is of type object.
Was this page helpful?