Operations Management/Tenant Management (Plus)/Organization Operations
PUTOrganization OperationsSince 2.4.0SynchronousAuth Required
ChangeIAM2OrganizationState
ChangeIAM2OrganizationState
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
changeiam2organizationstateObjectRequiredchangeiam2organizationstate request body object.
stateEventStateEventRequired状态事件。
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/iam2/organizations/{uuid}/actions
/zstack/v1/iam2/organizations/{uuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/iam2/organizations/{uuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"changeiam2organizationstate":{"stateEvent":"<stateEvent>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "c62fea9f96644a9cb5ba1ba383a9335c", "name": "org1", "state": "Enabled", "type": "Company", "parentUuid": "80f101e520f94f958b1357f7d7a3dc37", "attributes": [ { "uuid": "754a49f70fcb46ad879b347447af7b25", "name": "attribute-name", "value": "attribute-value", "type": "Customized" } ] } }Change History
This API has no change history records yet.
