Skip to main content
POST

Overview

Remove specified users from the system user ID list, revoking their special system user privileges and identification.

Request Body

Required Parameters

array
required
Array of user IDs to remove from the system user list
string
User ID

Response Fields

string
required
Operation status, returns "ok" on success

Status Codes

Impact of Removal

Revoked Privileges

When users are removed from the system user list, they lose:

Transition Period

  • Immediate: System user status revoked
  • Active Connections: Existing connections remain but lose privileges
  • Cached Permissions: May take up to 5 minutes to fully propagate
  • Message Queue: Messages in queue processed with new permissions

Use Cases

Service Decommissioning

Decommission Old Bot Services:

Security Incident Response

Emergency Privilege Revocation:

Cleanup Operations

Regular Cleanup of Unused System Users:

Migration and Upgrades

Service Migration:

Batch Operations

Bulk Removal with Validation:

Security Considerations

Pre-removal Validation

Audit and Compliance

Best Practices

  1. Validation First: Always validate users before removal
  2. Approval Process: Implement approval workflows for system user changes
  3. Gradual Rollout: Remove privileges gradually for critical services
  4. Monitoring: Monitor system behavior after privilege removal
  5. Rollback Plan: Have a rollback plan in case of issues
  6. Documentation: Document reasons for removal
  7. Notification: Notify relevant teams about privilege changes