Operations Management/Tenant Management (Plus)/Project Operations
POSTProject OperationsSince 0.6SynchronousAuth Required
AddPolicyStatementsToRole
AddPolicyStatementsToRole
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
paramsObjectRequiredRequest body parameter object.
statementsListRequiredNo description provided.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/identities/roles/{uuid}/policy-statements
/zstack/v1/identities/roles/{uuid}/policy-statements
Request Example
curl -X POST 'http://{host}/zstack/v1/identities/roles/{uuid}/policy-statements' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"statements":["<statements>"]},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{}Change History
This API has no change history records yet.
