v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Org Groups

Update an org group policy

Update an existing organization group policy.

patch/api/v2/org_group_policies/{org_group_policy_id}

Path parameters

org_group_policy_idstring uuid required
Example:1a2b3c4d-5e6f-7890-abcd-ef0123456789

The ID of the org group policy.

Request body

Example request

{
  "data": {
    "attributes": {
      "content": {
        "value": "UTC"
      },
      "enforcement_tier": "OVERRIDE_ALLOWED"
    },
    "id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789",
    "type": "org_group_policies"
  }
}

Response

OK

Example response

{
  "data": {
    "attributes": {
      "content": {
        "value": "UTC"
      },
      "enforcement_tier": "OVERRIDE_ALLOWED",
      "modified_at": "2024-01-15T10:30:00Z",
      "policy_name": "monitor_timezone",
      "policy_type": "org_config"
    },
    "id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789",
    "relationships": {
      "org_group": {
        "data": {
          "id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789",
          "type": "org_groups"
        }
      }
    },
    "type": "org_group_policies"
  }
}