An OPA Resource Group is a collection of Projects.
See Resource groups.
Lists all Resource Groups available to the requesting User
This endpoint requires one of the following roles: resource_admin
, delegated_resource_admin
.
OK
{- "list": [
- {
- "id": "9c199afe-0ca5-427a-baac-c4341707d82b",
- "name": "OPA_Resource_Group_1",
- "team_id": "Your_Team",
- "description": "A sensible description"
}, - {
- "id": "9c199afe-0ca5-427a-baac-c4341707d123",
- "name": "OPA_Resource_Group_2",
- "team_id": "Your_Team",
- "description": "A sensible description"
}
]
}
Creates a Resource Group for your Team. To assign the delegated_resource_admin
role, specify an existing Group in the delegated_resource_admin_groups
param.
This endpoint requires the following role: resource_admin
.
Created
{- "delegated_resource_admin_groups": [
- {
- "id": "string",
- "missing": true
}
], - "description": "string",
- "name": "string"
}
{- "delegated_resource_admin_groups": [
- {
- "id": "string",
- "missing": true,
- "name": "string",
- "type": "active_directory_account"
}
], - "description": "string",
- "id": "string",
- "name": "string",
- "team_id": "string"
}
Retrieves the specified Resource Group
This endpoint requires one of the following roles: resource_admin
, delegated_resource_admin
.
OK
{- "delegated_resource_admin_groups": [
- {
- "id": "string",
- "missing": true,
- "name": "string",
- "type": "active_directory_account"
}
], - "description": "string",
- "id": "string",
- "name": "string",
- "team_id": "string"
}
Updates the specified Resource Group. To assign the delegated_resource_admin
role, specify an existing Group in the delegated_resource_admin_groups
param.
This endpoint requires one of the following roles: resource_admin
, delegated_resource_admin
.
OK
{- "delegated_resource_admin_groups": [
- {
- "id": "string",
- "missing": true
}
], - "description": "string",
- "name": "string"
}
{- "delegated_resource_admin_groups": [
- {
- "id": "string",
- "missing": true,
- "name": "string",
- "type": "active_directory_account"
}
], - "description": "string",
- "id": "string",
- "name": "string",
- "team_id": "string"
}