v6 documentation is incomplete, want to contribute?

Update Group Gallery

Updates a gallery for a Group.

Requests made through this page are proxied through an intermediary server due to Cross-Origin Resource Sharing restrictions.

PUT
/groups/{groupId}/galleries/{groupGalleryId}
auth<token>

Auth Token via Cookie

In: cookie

Path Parameters

groupIdstring

Must be a valid group ID.

groupGalleryIdstring

Must be a valid group gallery ID.

name?string

Name of the gallery.

Length1 <= length
description?string

Description of the gallery.

Length0 <= length
membersOnly?boolean

Whether the gallery is members only.

Defaultfalse
roleIdsToView?|null
roleIdsToSubmit?|null
roleIdsToAutoApprove?|null
roleIdsToManage?|null

Response Body

application/json

application/json

application/json

curl -X PUT "https://api.vrchat.cloud/api/1/groups/grp_00000000-0000-0000-0000-000000000000/galleries/ggal_00000000-0000-0000-0000-000000000000" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "id": "ggal_a03a4b55-4ca6-4490-9519-40ba6351a233",
  "name": "Example Gallery",
  "description": "Example Description",
  "membersOnly": false,
  "roleIdsToView": [
    "grol_459d3911-f672-44bc-b84d-e54ffe7960fe"
  ],
  "roleIdsToSubmit": [
    "grol_459d3911-f672-44bc-b84d-e54ffe7960fe"
  ],
  "roleIdsToAutoApprove": [
    "grol_459d3911-f672-44bc-b84d-e54ffe7960fe"
  ],
  "roleIdsToManage": [
    "grol_459d3911-f672-44bc-b84d-e54ffe7960fe"
  ],
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}

{
  "error": {
    "message": "\"Missing Credentials\"",
    "status_code": 401
  }
}

{
  "error": {
    "message": "Can't find groupǃ",
    "status_code": 404
  }
}