group_delete
This job deletes a group (identified by groupname) and syncs the change on all nodes.
Mandatory parameters
| Parameter name | Data type | Description |
|---|---|---|
| groupname | string | String containing the name of the group to delete. |
Optional parameters
There are no optional parameters.
Substitute parameters
There are no substitute parameters.
Allowed users
The following users are allowed to run this job:
- root
Allowed groups
The following groups are allowed to run this job:
- root
- exaadm
Examples
The following examples show how to run this job in a Python program using XML-RPC or on the command line using confd_client.
conn.job_exec('group_delete', {'params': {'groupname': 'exausers'}})
confd_client group_delete groupname: exausers