resources

GET /resources/{resource_id}/custom-access-levels

Changed on

Returns all custom access levels for a resource. If the resource is a parent type (e.g. GitHubOrg), returns aggregated roles across child resources.

Request

  • Base URL
    https://api.opal.dev/v1
  • Auth
    HTTP bearer

Path parameters

resource_idstring uuid required

The ID of the resource.

Response

The custom access levels for the resource.

Example response

{
  "custom_access_levels": [
    {
      "access_level": {
        "access_level_name": "AdminRole",
        "access_level_remote_id": "arn:aws:iam::590304332660:role/AdministratorAccess"
      }
    }
  ]
}

Changes