Activate User

PUT /auth/users/{userId}/activate

Activate a specific user in the caller's org

Required Permissions

Permission NameCondition

Auth:Users:Update

Always Required

Auth:Types:Employee

When target user's kind is `CustomerEmployee`

Auth:Types:EndUser

When target user's kind is `EndUser`

Parameters

userId *

the ID of the user to activate

Example

/auth/users/us-em7bu-m6c48-hdqoobj7dj24pko/activate

Responses

Success - The user that was updated

{
  "username": "MyNewUser@example.co",
  "userId": "us-2mhcm-9r90a-92ran47bjpl60hmv",
  "kind": "CustomerEmployee",
  "credentialUuid": "cr-4uc9u-12ij1-9s08327e73jqqcnr",
  "orgId": "or-yanke-mars-6ulofamogg84s87v",
  "permissions": [],
  "scopes": [],
  "isActive": true,
  "isServiceAccount": false,
  "isRegistered": false,
  "permissionAssignments": []
}

Last updated