Operations Management/Tenant Management (Plus)/Project Operations
POSTProject OperationsSince 4.0.0SynchronousAuth Required
CreateIAM2VirtualIDGroup
CreateIAM2VirtualIDGroup
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
projectUuidStringOptional.
Body Fields
paramsObjectRequiredRequest body parameter object.
nameStringRequiredThe name of the member group.
descriptionStringOptional. The detailed description of the member group.
attributesListOptional.
resourceUuidStringOptional.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/iam2/projects/{projectUuid}/groups?projectUuid={projectUuid}
/zstack/v1/iam2/projects/{projectUuid}/groups?projectUuid={projectUuid}
Request Example
curl -X POST 'http://{host}/zstack/v1/iam2/projects/{projectUuid}/groups?projectUuid={projectUuid}' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"name":"<name>","description":"<description>","attributes":["<attributes>"],"resourceUuid":"<resourceUuid>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "7c1b800eb5644c35823bbed13d14b54c", "projectUuid": "04ef5931e13e4362b1960e03033b7d79", "name": "group-name", "state": "Enabled", "attributes": [ { "uuid": "70200048148344c1833a5cc8d6227f0b", "name": "attribute-name", "value": "attribute-value", "type": "Customized" } ] } }Change History
This API has no change history records yet.
