Skip to content

Claim Auth Ownership

Claim authentication ownership of a user record for the current tenant. This links the user's authentication to this tenant. Requires ADMIN permissions and the PEOPLE_MANAGEMENT feature flag.

Parameters

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

Return Value

json
{
  "statusCode": 201,
  "data": true,
  "message": "Auth ownership claimed successfully"
}

Error Codes

  • 400 Bad Request: Returned when ownership cannot be claimed (e.g., already owned by another tenant).
  • 401 Unauthorized: Returned when permissions are insufficient.

Examples

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

ENDPOINTS

post/api/{targetPath}/user/:userId/claim-auth-ownership