Activate a user
patch/api/v1/users/{id}/activateActivates a user in the organization by providing their unique identifier.
Code snippet
curl -X 'PATCH' \
'https://{yourdomain}/api/v1/users/{id}/activate' \
-H 'accept: text/plain; x-api-version=1.0' \
-H 'x-api-key: {your API key}' \
-H 'Content-Type: application/json; x-api-version=1.0'
Path parameters
| idintegerRequired | Unique identifier of the user to be activated. |
Example response
200 Success
{
"message": "User activated successfully.",
"data": {
"id": 101
}
}