Oracle Cloud Infrastructure · Example Payload

Oracle Cloud Createpolicy Example

Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

Oracle Cloud Createpolicy Example is an example object payload from Oracle Cloud Infrastructure, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "createPolicy",
  "method": "POST",
  "path": "/policies",
  "summary": "Oracle Cloud Create Policy",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "CreatePolicyRequestExample",
      "example": {
        "compartmentId": "ocid1.resource.oc1.iad.abcdefg123456",
        "name": "example-value",
        "description": "example-value",
        "statements": [
          "example-value"
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "CreatePolicy200Example",
      "example": {
        "id": "ocid1.resource.oc1.iad.abcdefg123456",
        "compartmentId": "ocid1.resource.oc1.iad.abcdefg123456",
        "name": "AllowAdmins",
        "description": "example-value",
        "statements": [
          "Allow group Administrators to manage all-resources in tenancy"
        ],
        "lifecycleState": "CREATING",
        "timeCreated": "2026-04-18T10:30:00Z"
      }
    }
  ]
}