{
  "opencollection": "1.0.0",
  "info": {
    "name": "Exoscale ai-api-key role API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "role",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "[BETA] Request generation of key/secret that allow caller to assume target role",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-{zone}.exoscale.com/v2/iam-role/:target-role-id/assume",
            "params": [
              {
                "name": "target-role-id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "[BETA] Request generation of key/secret that allow caller to assume target role"
        },
        {
          "info": {
            "name": "Retrieve IAM Role",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-{zone}.exoscale.com/v2/iam-role/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve IAM Role"
        },
        {
          "info": {
            "name": "Update IAM Role",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api-{zone}.exoscale.com/v2/iam-role/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update IAM Role"
        },
        {
          "info": {
            "name": "Delete IAM Role",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api-{zone}.exoscale.com/v2/iam-role/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete IAM Role"
        },
        {
          "info": {
            "name": "Update IAM Assume role Policy",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api-{zone}.exoscale.com/v2/iam-role/:id:assume-role-policy",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update IAM Assume role Policy"
        },
        {
          "info": {
            "name": "Update IAM Role Policy",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api-{zone}.exoscale.com/v2/iam-role/:id:policy",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update IAM Role Policy"
        },
        {
          "info": {
            "name": "List IAM Roles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-{zone}.exoscale.com/v2/iam-role"
          },
          "docs": "List IAM Roles"
        },
        {
          "info": {
            "name": "Create IAM Role",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-{zone}.exoscale.com/v2/iam-role",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create IAM Role"
        }
      ]
    }
  ],
  "bundled": true
}