Manage Policies
Create a new Policy
Endpoint: POST: /api/iam/policy
{
"name": "string",
"statements": [
{
"sid": "string",
"principal": [
"uuid"
],
"action": [
"string"
],
"resource": [
"string"
],
"effect": "allow" | "deny",
"scope": "foundation"
}
]
}Get a Policy
Endpoint: GET: /api/iam/policy?identifier={policy_identifier}
Update a Policy
Endpoint: PUT: /api/iam/policy?identifier={policy_identifier}
{
"name": "string",
"statements": [
{
"sid": "string",
"principal": [
"uuid"
],
"action": [
"string"
],
"resource": [
"string"
],
"effect": "allow" | "deny",
"scope": "foundation"
}
]
}Delete a Policy
Endpoint: DELETE: /api/iam/policy?identifier={uupolicy_identifierid}
List all Policies
Endpoint: GET: /api/iam/policy/list?page={int}&page_size={int}&resource={string}
Last updated