---
title: "Organization Policy"
description: "The Organization Policy is an IAM policy that applies as a first layer across your entire Exoscale organization."
url: https://community.exoscale.com/reference/api/iam/organization-policy/
section: reference
last_updated: 2026-10-14
---
> For AI agents: the documentation index is at https://community.exoscale.com/llms.txt. Every page is available as markdown at `<page URL>index.md` or with `Accept: text/markdown`.

# Organization Policy

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

[Read more](https://community.exoscale.com/product/iam/operation/roles-policies/index.md)

## <span data-label="POST" class="pill-POST"></span>reset-iam-organization-policy

Reset IAM Organization Policy

```
POST /iam-organization-policy:reset
```

### Responses

Status: `200` - 200

Content-Type: `application/json`

| Property | Type | Description |
| --- | --- | --- |
| `id` | string | Operation ID<br/><br/>Must be a valid UUID. |
| `message` | string | Operation message |
| `reason` | string | Operation failure reason<br/><br/>Allowed values: `incorrect`, `unknown`, `unavailable`, `forbidden`, `busy`, `fault`, `partial`, `not-found`, `interrupted`, `unsupported`, `conflict`. |
| `reference` | [Reference](https://community.exoscale.com/reference/api/_schemas/operation/index.md#reference) | Related resource reference |
| `state` | string | Operation status<br/><br/>Allowed values: `failure`, `pending`, `success`, `timeout`. |

<details>
<summary>Example output</summary>

```json
{
  "id": "a1b2c3d4-e5f6-4a5b-8c9d-0123456789ab",
  "message": "string",
  "reason": "incorrect",
  "reference": {
    "command": "string",
    "id": "a1b2c3d4-e5f6-4a5b-8c9d-0123456789ab",
    "link": "string"
  },
  "state": "failure"
}
```
</details>


SDK reference for `reset-iam-organization-policy`: [golang](https://pkg.go.dev/github.com/exoscale/egoscale/v3#Client.ResetIAMOrganizationPolicy) | [Python](https://exoscale.github.io/python-exoscale/v2.html#exoscale.api.v2.Client.reset_iam_organization_policy) | [Java](https://exoscale.github.io/exoscale-sdk-java/com/exoscale/sdk/api/ExoscaleApi.html#resetIamOrganizationPolicy())

[CLI](https://community.exoscale.com/tools/command-line-interface/index.md): `exo api reset-iam-organization-policy`

## <span data-label="GET" class="pill-GET"></span>get-iam-organization-policy

Retrieve IAM Organization Policy

```
GET /iam-organization-policy
```

### Responses

Status: `200` - 200

Content-Type: `application/json`

| Property | Type | Description |
| --- | --- | --- |
| `default-service-strategy` | string | IAM default service strategy<br/><br/>Allowed values: `allow`, `deny`. |
| `services` | object | IAM services |

<details>
<summary>Example output</summary>

```json
{
  "default-service-strategy": "allow",
  "services": {}
}
```
</details>


SDK reference for `get-iam-organization-policy`: [golang](https://pkg.go.dev/github.com/exoscale/egoscale/v3#Client.GetIAMOrganizationPolicy) | [Python](https://exoscale.github.io/python-exoscale/v2.html#exoscale.api.v2.Client.get_iam_organization_policy) | [Java](https://exoscale.github.io/exoscale-sdk-java/com/exoscale/sdk/api/ExoscaleApi.html#getIamOrganizationPolicy())

[CLI](https://community.exoscale.com/tools/command-line-interface/index.md): `exo api get-iam-organization-policy`

## <span data-label="PUT" class="pill-PUT"></span>update-iam-organization-policy

Update IAM Organization Policy

```
PUT /iam-organization-policy
```

### Request body

Content-Type: `application/json`

| Property | Type | Required | Description |
| --- | --- | --- | --- |
| `default-service-strategy` | string | **yes** | IAM default service strategy<br/><br/>Allowed values: `allow`, `deny`. |
| `services` | object | **yes** | IAM services |

<details>
<summary>Example</summary>

```json
{
  "default-service-strategy": "allow",
  "services": {}
}
```
</details>


### Responses

Status: `200` - 200

Content-Type: `application/json`

| Property | Type | Description |
| --- | --- | --- |
| `id` | string | Operation ID<br/><br/>Must be a valid UUID. |
| `message` | string | Operation message |
| `reason` | string | Operation failure reason<br/><br/>Allowed values: `incorrect`, `unknown`, `unavailable`, `forbidden`, `busy`, `fault`, `partial`, `not-found`, `interrupted`, `unsupported`, `conflict`. |
| `reference` | [Reference](https://community.exoscale.com/reference/api/_schemas/operation/index.md#reference) | Related resource reference |
| `state` | string | Operation status<br/><br/>Allowed values: `failure`, `pending`, `success`, `timeout`. |

<details>
<summary>Example output</summary>

```json
{
  "id": "a1b2c3d4-e5f6-4a5b-8c9d-0123456789ab",
  "message": "string",
  "reason": "incorrect",
  "reference": {
    "command": "string",
    "id": "a1b2c3d4-e5f6-4a5b-8c9d-0123456789ab",
    "link": "string"
  },
  "state": "failure"
}
```
</details>


SDK reference for `update-iam-organization-policy`: [golang](https://pkg.go.dev/github.com/exoscale/egoscale/v3#Client.UpdateIAMOrganizationPolicy) | [Python](https://exoscale.github.io/python-exoscale/v2.html#exoscale.api.v2.Client.update_iam_organization_policy) | [Java](https://exoscale.github.io/exoscale-sdk-java/com/exoscale/sdk/api/ExoscaleApi.html#updateIamOrganizationPolicy(com.exoscale.sdk.model.UpdateIamOrganizationPolicyRequest))

[CLI](https://community.exoscale.com/tools/command-line-interface/index.md): `exo api update-iam-organization-policy`


