resource-groups

Update resource group

Changed on

Update the name, description and/or monthly spend limits (in cents, null to remove) of a resource group.

spendLimits.total caps the group's combined spend across every product; the per-product limits cap each product on top of it.

Requires the org to have a Team plan or higher.

patch/api/organizations/{name}/resource-groups/{resourceGroupId}

Request

  • Base URL: https://huggingface.co
  • URL: https://huggingface.co/api/organizations/{name}/resource-groups/{resourceGroupId}
  • Auth: HTTP bearer

Path parameters

namestring required
resourceGroupIdstring required

Request body

namestring
descriptionstring

Response

The updated resource group

idstring required

A hex string of 24 characters representing an ObjectId.

namestring required
descriptionstring nullable

Changes

    • warning

      added the new inherit enum value to the // response property for the response status

    • info

      added the required property // to the response with the status

    • info

      added the optional property // to the response with the status