Skip to main content
DELETE
/
users
/
blocked
/
{userId}
curl --request DELETE \
--url 'https://YOURSITE.konstant.ly/openapi/v1/users/blocked/1234567890' \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{}
Reactivate a previously deactivated user account, allowing them to log in again.

Request Headers

X-API-KEY
string
required
API Key. Go to your Konstantly site > Settings > API and copy the value from there.

URL Parameters

userId
string
required
User API ID to activate

Response

Returns an empty response on success.

Error Responses

404
object
Returned when user is not found
402
object
Returned when license limit is exceeded and user cannot be activated
curl --request DELETE \
--url 'https://YOURSITE.konstant.ly/openapi/v1/users/blocked/1234567890' \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{}