Add policy to delegate resource access to users

Prev Next
Post
/api/resource-manager/policies
Security
HTTP
Type bearer
Body parameters

Add resource policy

Expand All
object
id
string
name
string
isActive
boolean
isDraft
boolean
isReadOnly
boolean
condition
object
resource
string
accessLevel
string
consumer
string
members
Array of object (MemberDto)
object
id
string
name
string
memberType
string
Valid values[ "User", "Tag" ]
resourceLabels
object (LabelAssociation)
property*
Array of string additionalProperties
string
Responses
201

policy got created successfully

Expand All
object
id
string
name
string
isActive
boolean
isDraft
boolean
isReadOnly
boolean
condition
object
resource
string
accessLevel
string
consumer
string
members
Array of object (MemberDto)
object
id
string
name
string
memberType
string
Valid values[ "User", "Tag" ]
resourceLabels
object (LabelAssociation)
property*
Array of string additionalProperties
string
404

Not Found