Operations Management/Tenant Management (Plus)/Project Operations
POSTProject OperationsSince 2.4.0SynchronousAuth Required
CreateIAM2ProjectFromTemplate
CreateIAM2ProjectFromTemplate
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
templateUuidStringRequired模板UUID。
Body Fields
paramsObjectRequiredRequest body parameter object.
nameStringRequiredThe resource name.
descriptionStringOptional. The detailed description of the resource.
resourceUuidStringOptional.
roleUuidsListOptional.
organizationUuidStringOptional. The organization UUID.
tagUuidsListOptional. The tag UUID.
resourceTemplatesListOptional. The resource templates.
linkAccountUuidStringOptional. The linked sub-account UUID. If left blank, the system auto-generates one.
systemTagsListOptional.
userTagsListOptional.
Responses
Endpoint
POST/zstack/v1/iam2/projects/from/templates/{templateUuid}
/zstack/v1/iam2/projects/from/templates/{templateUuid}
Request Example
curl -X POST 'http://{host}/zstack/v1/iam2/projects/from/templates/{templateUuid}' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"name":"<name>","description":"<description>","resourceUuid":"<resourceUuid>","roleUuids":["<roleUuids>"],"organizationUuid":"<organizationUuid>","tagUuids":["<tagUuids>"],"resourceTemplates":["<resourceTemplates>"],"linkAccountUuid":"<linkAccountUuid>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "c6c6a122eb564cbd9db2f779fe355d21", "name": "project", "state": "Enabled" } }Change History
This API has no change history records yet.
