Archive User

DELETE /auth/users/{userId}

Archive a specific user in the caller's org

Required Permissions

NameConditions

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 archive

Example

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

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": false,
  "isServiceAccount": false,
  "isRegistered": false,
  "permissionAssignments": []
}

Last updated