PATCH
/
org
/
{org}
/
policy
/
{name}

Authorizations

Authorization
string
headerrequired

Service account key can be used as API keys

Path Parameters

org
string
required
name
string
required

Body

application/json
$drop
enum<string>[]
Available options:
description,
tags,
targetKind,
targetLinks,
targetQuery,
target,
bindings
description
string
Maximum length: 250
tags
object
$replace/tags
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[]
$drop/targetLinks
string[]
$append/targetLinks
string[]
$retain/targetLinks
string[]
targetQuery
object
$replace/targetQuery
object
target
enum<string>
Available options:
all
bindings
object[]
$drop/bindings
string[]
$append/bindings
object[]
$retain/bindings
string[]
$patch/bindings
object[]

Response

200 - application/json
id
string
name
string
Maximum length: 64
kind
string
version
integer
description
string
Maximum length: 250
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: default
Available options:
default,
builtin
bindings
object[]