policy
Get a policy by name
Response will contain the requested policy if the caller is authorized to view it
GET
/
org
/
{org}
/
policy
/
{name}
Authorizations
Authorization
string
headerrequiredService account key can be used as API keys
Path Parameters
org
string
requiredname
string
requiredResponse
200 - application/json
id
string
name
string
kind
string
version
integer
description
string
tags
object
created
string
lastModified
string
links
object[]
targetKind
enum<string>
Available options:
org
, cloudaccount
, policy
, user
, group
, resource
, task
, permissions
, serviceaccount
, secret
, location
, gvc
, workload
, quota
, identity
, deployment
, event
, domain
, image
, ipset
, resourcepolicy
, agent
, accessreport
, policymembership
, dbcluster
, auditctx
, memcachecluster
, spicedbcluster
, tenant
, mk8s
, command
, imagesummary
, volumeset
targetLinks
string[]
targetQuery
object
target
enum<string>
Available options:
all
origin
enum<string>
default: defaultAvailable options:
default
, builtin
bindings
object[]