Organization Policy

Organization Policy

The Organization Policy is an IAM policy that applies as a first layer across your entire Exoscale organization.

Read more

reset-iam-organization-policy

Reset IAM Organization Policy

POST /iam-organization-policy:reset

Responses

Status: 200 - 200

Content-Type: application/json

PropertyTypeDescription
idstringOperation ID
messagestringOperation message
reasonstringOperation failure reason

Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict.
referenceobjectRelated resource reference schema details
statestringOperation 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-policy

Responses

Status: 200 - 200

Content-Type: application/json

PropertyTypeDescription
default-service-strategystringIAM default service strategy

Allowed values: allow, deny.
servicesobjectIAM 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-policy

Request body

Content-Type: application/json

PropertyTypeRequiredDescription
default-service-strategystringyesIAM default service strategy

Allowed values: allow, deny.
servicesobjectyesIAM services
Example
{
  "default-service-strategy": "allow",
  "services": {}
}

Responses

Status: 200 - 200

Content-Type: application/json

PropertyTypeDescription
idstringOperation ID
messagestringOperation message
reasonstringOperation failure reason

Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict.
referenceobjectRelated resource reference schema details
statestringOperation 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