{
  "name": "RevokeWorkloadKey",
  "plane": "control",
  "terraformEligible": false,
  "protocol": {
    "kind": "rest",
    "method": "DELETE",
    "path": "/auth/workload-keys/{principalId}",
    "query": [
      "accessKeyId"
    ],
    "headers": [
      "authorization"
    ],
    "body": false
  },
  "requestBody": "explicitlyEmpty",
  "responseBody": "json",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "accessKeyId": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      },
      "principalId": {
        "type": "string"
      }
    },
    "required": [
      "principalId"
    ],
    "title": "RevokeWorkloadKeyRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
      "accessKeyId": {
        "type": "string"
      },
      "principalId": {
        "type": "string"
      },
      "status": {
        "type": "string"
      }
    },
    "required": [
      "accessKeyId",
      "principalId",
      "status"
    ],
    "title": "RevokeWorkloadKeyResponse",
    "type": "object"
  }
}
