Revoke user access
/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 Parameters
userId: string
User ID to revoke access for. Format: usr_{32-hex-chars}
Returns
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"
}