PUT
/
account-invitations
/
{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"
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

ID of the resource

Body

application/json
Account invitation to update

The body is of type object.

Response

200
application/json
Updated account invitation

The response is of type object.