Skip to content

Update a collection

Request

Patch a Collection

Security
bearerToken
Path
idstringrequired

The unique ID of the Collection

Bodyapplication/jsonrequired
namestring or null

Name of the Collection

Example:"Folders"
curl -i -X PATCH \
  'https://api-v2.dash.app/collections/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Folders"
  }'

Responses

Success

Bodyapplication/json
resultobjectrequired
permittedActionsArray of objectsrequired
Response
{ "result": { "id": "a52b5315-15b8-417f-b742-d6902108bac1", "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "name": "Folders", "creatorId": "google-oauth2|110955770826801837334", "dateCreated": "2021-02-17T09:24:01.417Z", "collaborators": [], "share": {} }, "permittedActions": [ {} ] }