v1

latestOpenAPI 3.0.32026-07-22194221292.5 KB
policies

Delete governance policy

Permanently deletes a governance policy. Resources using this policy will need to be updated to use a different policy.

delete/policies/{policyName}

Response

successful operation

Example response

{
  "metadata": {
    "displayName": "My Resource",
    "externalId": "my-session-123",
    "name": "my-resource"
  },
  "spec": {
    "flavors": [
      {
        "name": "t4",
        "type": "cpu"
      }
    ],
    "locations": [
      {
        "name": "EU",
        "type": "continent"
      }
    ],
    "maxTokens": {
      "granularity": "minute",
      "input": 10000,
      "output": 5000,
      "ratioInputOverOutput": 2,
      "step": 1,
      "total": 15000
    },
    "type": "location"
  }
}