Delete role
hub_delete_roleDelete a role the merchant no longer uses. Takes the roleId from get_roles. CONFIRM FIRST, naming the role — there is no undo. A role that anyone still holds cannot be deleted: the server refuses and tells you how many people are on it. Move them with assign_role first, and check with the merchant which role they should land on — that move changes what those people can do. You cannot delete the role you are signed in under.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roleId | Yes | Role id from get_roles — not a role name |