Gifli API Docs
Api

Update a collection

Update a collection's name or description. Owner only.

PATCH
/collections/{id}

Authorization

AuthorizationBearer <token>

Pass a user session token (from /auth/login) or an app API key (gk_…).

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/collections/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "userId": "string",  "name": "string",  "description": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}