Skip to main content

Activate Users

Reactivate up to 50 previously deactivated users, identified by email address. Activation is subject to the account's user license limit.

PUT
/api/public/users/activate

Headers

KeyValue
Content-Typeapplication/json
AuthorizationBearer <Account API Key>

Request body

FieldTypeDescription
list_user_email (required)Array of StringEmail addresses of the users to activate. Only the first 50 entries are processed.
{
"list_user_email": ["jane@example.com", "john@example.com"]
}

Example cURL

curl --location --request PUT '<BUILDER_URL>/api/public/users/activate' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXX' \
--data-raw '{
"list_user_email": ["jane@example.com", "john@example.com"]
}'

Responses

Status CodeDescriptionResponse
200Request processed. The body groups the supplied emails by outcome.application/json
400list_user_email is emptyapplication/json
401Unauthorizedapplication/json
500Internal Server Errorapplication/json

Response fields

FieldTypeDescription
users_successArray of StringEmails of users that were activated.
users_invalidArray of StringEntries that are not valid email addresses.
users_not_existArray of StringValid emails that do not belong to any user in this account.
users_failedArray of StringUsers for whom activation failed.

Sample response

200 : Success

{
"users_success": ["jane@example.com"],
"users_invalid": ["not-an-email"],
"users_failed": [],
"users_not_exist": ["ghost@example.com"]
}