Skip to content

Restore User

Restore a user that was previously soft-deleted. Requires ADMIN permissions and the PEOPLE_MANAGEMENT feature flag.

Parameters

name * are required parametersdata typedescription
userId*stringThe unique identifier of the user to restore

Return Value

json
{
  "statusCode": 201,
  "data": true,
  "message": "Successfully restored the user"
}

Error Codes

  • 400 Bad Request: Returned when the user cannot be restored.
  • 401 Unauthorized: Returned when permissions are insufficient.

Examples

bash
curl -X POST "https://app.wombat.software/api/{targetPath}/user/:userId/restore" \
  -H "Content-Type: application/json" \
  -H "Authentication: Bearer ..."

ENDPOINTS

post/api/{targetPath}/user/:userId/restore