Organization Policy
The Organization Policy is an IAM policy that applies as a first layer across your entire Exoscale organization.
reset-iam-organization-policy
Reset IAM Organization Policy
POST /iam-organization-policy:resetResponses
Status: 200 - 200
Content-Type: application/json
| Property | Type | Description |
|---|---|---|
id | string | Operation ID |
message | string | Operation message |
reason | string | Operation failure reason Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict. |
reference | object | Related resource reference schema details |
state | string | Operation status Allowed values: failure, pending, success, timeout. |
Example output
{
"id": "string",
"message": "string",
"reason": "incorrect",
"reference": {
"command": "string",
"id": "string",
"link": "string"
},
"state": "failure"
}SDK reference for reset-iam-organization-policy: golang | Python | Java
CLI: exo api reset-iam-organization-policy
get-iam-organization-policy
Retrieve IAM Organization Policy
GET /iam-organization-policyResponses
Status: 200 - 200
Content-Type: application/json
| Property | Type | Description |
|---|---|---|
default-service-strategy | string | IAM default service strategy Allowed values: allow, deny. |
services | object | IAM services |
Example output
{
"default-service-strategy": "allow",
"services": {}
}SDK reference for get-iam-organization-policy: golang | Python | Java
CLI: exo api get-iam-organization-policy
update-iam-organization-policy
Update IAM Organization Policy
PUT /iam-organization-policyRequest body
Content-Type: application/json
| Property | Type | Required | Description |
|---|---|---|---|
default-service-strategy | string | yes | IAM default service strategy Allowed values: allow, deny. |
services | object | yes | IAM services |
Example
{
"default-service-strategy": "allow",
"services": {}
}Responses
Status: 200 - 200
Content-Type: application/json
| Property | Type | Description |
|---|---|---|
id | string | Operation ID |
message | string | Operation message |
reason | string | Operation failure reason Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict. |
reference | object | Related resource reference schema details |
state | string | Operation status Allowed values: failure, pending, success, timeout. |
Example output
{
"id": "string",
"message": "string",
"reason": "incorrect",
"reference": {
"command": "string",
"id": "string",
"link": "string"
},
"state": "failure"
}SDK reference for update-iam-organization-policy: golang | Python | Java
CLI: exo api update-iam-organization-policy
Last updated on