Client Quotas (kafka-quotas/v1)

Update a Client Quota

General Availability

Make a request to update a client quota.

patch/kafka-quotas/v1/client-quotas/{id}

Path parameters

idstring required

The unique identifier for the client quota.

Request body

api_version'kafka-quotas/v1'

APIVersion defines the schema version of this representation of a resource.

kind'ClientQuota'

Kind defines the object this REST resource represents.

idstring

ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object kinds or objects of the same kind within a different scope/namespace ("space").

Example request

{
  "id": "dlz-f3a90de",
  "metadata": {
    "self": "https://api.confluent.cloud/kafka-quotas/v1/client-quotas/cq-12345",
    "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/client-quota=cq-12345",
    "created_at": "2006-01-02T15:04:05-07:00",
    "updated_at": "2006-01-02T15:04:05-07:00",
    "deleted_at": "2006-01-02T15:04:05-07:00"
  },
  "spec": {
    "display_name": "QuotaForSA1",
    "description": "This quota defines limits on how much the target principals can use cluster lkc-xxxxx",
    "throughput": {
      "ingress_byte_rate": "5",
      "egress_byte_rate": "5"
    },
    "environment": {
      "id": "env-00000"
    }
  }
}

Response

Client Quota.

api_version'kafka-quotas/v1' required

APIVersion defines the schema version of this representation of a resource.

kind'ClientQuota' required

Kind defines the object this REST resource represents.

idstring required

ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object kinds or objects of the same kind within a different scope/namespace ("space").

Example response

{
  "id": "dlz-f3a90de",
  "metadata": {
    "self": "https://api.confluent.cloud/kafka-quotas/v1/client-quotas/cq-12345",
    "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/client-quota=cq-12345",
    "created_at": "2006-01-02T15:04:05-07:00",
    "updated_at": "2006-01-02T15:04:05-07:00",
    "deleted_at": "2006-01-02T15:04:05-07:00"
  },
  "spec": {
    "display_name": "QuotaForSA1",
    "description": "This quota defines limits on how much the target principals can use cluster lkc-xxxxx",
    "throughput": {
      "ingress_byte_rate": "5",
      "egress_byte_rate": "5"
    },
    "cluster": {
      "id": "lkc-xxxxx",
      "related": "https://api.confluent.cloud/cmk/v2/clusters/lkc-xxxxx",
      "resource_name": "https://api.confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lkc-xxxxx"
    }
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.