Shared Policy Group
Create or update Shared Policy Group from SharedPolicyGroupSpec
Create/update Shared Policy Group from Shared Policy Group Spec
put/organizations/{orgId}/environments/{envId}/shared-policy-groups
Path parameters
orgIdstring required
Example:dedd0e0f-b3e9-4d2f-89cd-b2a9de7cb145
organization ID
envIdstring required
Example:a44e0d1b-9fa9-4d64-8b76-3634623a2e27
environment ID
Query parameters
dryRunboolean
Example:true
For modifying requests, this parameter allow you to test the result of an endpoint without actually persisting the state of the underlying spec.
Request body
Example request
{
"hrid": "demo_api",
"description": "this is a shared policy group",
"prerequisiteMessage": "the resource cache \"my-cache\" is required",
"name": "My Shared Policy Group"
}Response
State of the successfully created / updated Shared Policy Group
Example response
{
"hrid": "demo_api",
"description": "this is a shared policy group",
"prerequisiteMessage": "the resource cache \"my-cache\" is required",
"name": "My Shared Policy Group"
}