Skip to content
Get started

Revoke user access

post/v1/autoScribe/users/revoke-access

Deactivates a user's access to the system. The user will no longer be able to log in, create reports, or access studies. User data is preserved and can be reactivated later.

Body ParametersExpand Collapse
userId: string

User ID to revoke access for. Format: usr_{32-hex-chars}

ReturnsExpand Collapse
success: boolean
message: optional string
Revoke user access
curl https://api.avarasoftware.com/v1/autoScribe/users/revoke-access \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $AVARA_API_KEY" \
    -d '{
          "userId": "usr_1234567890abcdef1234567890abcdef"
        }'
{
  "success": true,
  "message": "User access revoked successfully"
}
Returns Examples
{
  "success": true,
  "message": "User access revoked successfully"
}