Operations Management/Tenant Management (Plus)/Project Operations
PUTProject OperationsSince 2.4.0SynchronousAuth Required
ChangeIAM2ProjectState
ChangeIAM2ProjectState
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredThe resource UUID.
Body Fields
changeiam2projectstateObjectRequiredchangeiam2projectstate request body object.
stateEventStateEventRequired状态事件。
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/iam2/projects/{uuid}/actions
/zstack/v1/iam2/projects/{uuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/iam2/projects/{uuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"changeiam2projectstate":{"stateEvent":"<stateEvent>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "21fc3599223d46ddb5d065f6bf674a70", "name": "project", "state": "Enabled" } }Change History
This API has no change history records yet.
