cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Account → Remove UID or GID from tracked list

AI-generated

Summary

Remove a user ID (uid) and/or group ID (gid) from the cPanel WHM tracked list, optionally enforcing checks to prevent removal of active or protected IDs.

Inputs

  • Uid — The user ID to remove from the tracked list. Must provide either uid, gid, or both.
  • Gid — The group ID to remove from the tracked list. Must provide either uid, gid, or both.
  • Check Exists — Option to prevent removal if the user or group ID is currently in use. Set to 1 to prevent removal, or 0 to allow.
  • Check Quota — Option to prevent removal of the user ID if the quota system tracks associated files. Applies only to user IDs. Set to 1 to prevent removal, or 0 to allow.
  • Protect System — Option to prevent removal of system user or group IDs. Set to 1 to prevent removal, or 0 to allow.

Output shape

an object with the API response indicating success or failure of the removal operation

The operation returns the cPanel WHM API response as a JSON object. The requester must specify at least one of uid or gid. Optional flags may influence removal behavior by enforcing safety checks.

Links

Discussion