Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
POST
/api-v1/contact/{id}/modify/main-user
curl \
--request POST 'https://wyzio.app/api-v1/contact/{id}/modify/main-user' \
--header "Content-Type: application/json" \
--header "WEAL-TOKEN: string" \
--header "TARGET-ORGANIZATION-ID: 42" \
--data '{"isMainUser":true,"id":42}'
Request examples
# Headers
WEAL-TOKEN: string
TARGET-ORGANIZATION-ID: 42
# Payload
{
"isMainUser": true,
"id": 42
}
Response examples (200)
{}