Create/Update Groups
Endpoint: PUT /api/groups/{id}
Creates or updates a group in your Conductor cluster. The invoking user must be an Admin to the Conductor cluster.
Path parameters
| Parameter | Description | Type | Required/ Optional |
|---|---|---|---|
| id | The name of the group. | string | Required. |
Request body
| Parameter | Description | Type | Required/ Optional |
|---|---|---|---|
| description | A description of the group. | string | Required. |
| roles | The role to assign for the group. Supported values:
| array | Required. |
Response
Returns the created or updated group object with its ID, description, and roles. Returns 403 if a non-admin invokes the API.
Examples
Create a new group
Request
curl -X 'PUT' \
'https://<YOUR-SERVER-URL>/api/groups/TechWriters' \
-H 'accept: application/json' \
-H 'X-Authorization: <TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"description": "A dedicated group for testing",
"roles": [
"ADMIN"
]
}'
Response
{
"id": "TechWriters",
"description": "A dedicated group for testing",
"roles": [
{
"name": "ADMIN",
"permissions": [
{
"name": "AUTHORIZATION_MANAGEMENT"
},
{
"name": "WORKFLOW_SEARCH"
},
{
"name": "PUBLISHER_MANAGEMENT"
},
{
"name": "API_GATEWAY_VIEW"
},
{
"name": "API_GATEWAY_MANAGEMENT"
},
{
"name": "WORKFLOW_MANAGEMENT"
},
{
"name": "PROMPT_MANAGEMENT"
},
{
"name": "EVENT_HANDLER_MANAGEMENT"
},
{
"name": "USER_MANAGEMENT"
},
{
"name": "PERMISSION_MANAGEMENT"
},
{
"name": "METADATA_VIEW"
},
{
"name": "ADMIN_MANAGEMENT"
},
{
"name": "METADATA_MANAGEMENT"
},
{
"name": "APPLICATION_MANAGEMENT"
},
{
"name": "BULK_MANAGEMENT"
},
{
"name": "SCHEDULE_MANAGEMENT"
}
]
}
],
"defaultAccess": {},
"contactInformation": {}
}
Update an existing group
Request
curl -X 'PUT' \
'https://<YOUR-SERVER-URL>/api/groups/TechWriters' \
-H 'accept: application/json' \
-H 'X-Authorization: <TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"description": "A dedicated group for testing for tech writers",
"roles": [
"METADATA_MANAGER"
]
}'
Response
{
"id": "TechWriters",
"description": "A dedicated group for testing for tech writers",
"roles": [
{
"name": "METADATA_MANAGER",
"permissions": [
{
"name": "API_GATEWAY_VIEW"
},
{
"name": "API_GATEWAY_MANAGEMENT"
},
{
"name": "CREATE_INTEGRATION"
},
{
"name": "CREATE_SECRET"
},
{
"name": "METADATA_VIEW"
},
{
"name": "METADATA_MANAGEMENT"
}
]
}
],
"defaultAccess": {},
"contactInformation": {}
}