PATCH /v1/resource-groups/{resource_group.id}

Update a Redpanda resource group.

Path parameters

  • resource_group.id string Required

    ID of the resource group. The ID should be valid and the resource group should exist within the organization.

application/json

Body Required

  • resource_group object
    Hide resource_group attribute Show resource_group attribute object
    • name string

      The unique name of the resource group.

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • resource_group object
      Hide resource_group attributes Show resource_group attributes object
      • created_at string(date-time)
      • id string
      • name string

        The unique name of the resource group.

      • updated_at string(date-time)
  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

  • 500 application/json

    Internal Server Error. Reach out to support.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

PATCH /v1/resource-groups/{resource_group.id}
curl \ --request PATCH 'https://api.redpanda.com/v1/resource-groups/897e76ad-64d5-4314-9d81-7383fa14100d' \ --header "Authorization: Bearer $ACCESS_TOKEN" \ --header "Content-Type: application/json" \ --data '{"name":"my-new-name"}'
Request example
{ "name": "my-new-name" }
Response examples (200)
{ "resource_group": { "id": "897e76ad-64d5-4314-9d81-7383fa14100d", "name": "my-new-name", "created_at": "2023-01-01T00:00:00Z", "updated_at": "2023-08-25T00:00:00Z" } }
Response examples (404)
{ "code": "OK", "details": [ { "@type": "type.googleapis.com/google.rpc.BadRequest", "field_violations": [ { "description": "string", "field": "string", "localized_message": { "locale": "string", "message": "string" }, "reason": "string" } ] } ], "message": "string" }
Response examples (500)
{ "code": "OK", "details": [ { "@type": "type.googleapis.com/google.rpc.BadRequest", "field_violations": [ { "description": "string", "field": "string", "localized_message": { "locale": "string", "message": "string" }, "reason": "string" } ] } ], "message": "string" }