v2
latestOpenAPI 3.0.12026-07-262352981007.0 KBAuthorization
Create an authorization policy
Creates an authorization policy.
post/policies
Request body
Example request
{
"principalId": "a7922e80-f833-48f0-8250-c00df1ebbc16",
"resourceId": "matters/54171794-5ca3-472b-889a-c03538d8c89a",
"rules": [
{
"principalId": "a7922e80-f833-48f0-8250-c00df1ebbc16",
"resourceId": "matters/69406c65-309d-4e35-a636-ad145e64770a",
"operation": "Access"
}
]
}Response
When request is accepted. Returns a hypermedia 'Link' object of the authorization policy to be created.