resource-groups

Add one or more organization members to a resource group.

Use the inherit role to give a member the same role they have in the organization, following it when it changes.

Requires the org to have a Team plan or higher.

post/api/organizations/{name}/resource-groups/{resourceGroupId}/users

Request

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

Path parameters

namestring required
resourceGroupIdstring required

Request body

Response

The updated resource group

idstring required

A hex string of 24 characters representing an ObjectId.

namestring required
descriptionstring nullable

Changes

    • breaking

      removed subschema #1 subschema #2 from the / request property anyOf list

    • warning

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

    • info

      added subschema #1 subschema #2 to the / request property anyOf list

    • info

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

    • info

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