Update an agency pitch deck
PATCH
/decks/{deck_id}Updates only supplied fields. creator_ids replaces the deck's roster selection and every ID must already belong to the authenticated agency. Passwords are accepted only as write-only values and are never returned. Image and cover uploads and deck deletion are not supported.
Authorization
ApiKey AuthorizationBearer <token>
Public API key from creator or agency settings. The complete secret is shown once.
In: header
Path Parameters
deck_id*string
Match
^[a-fA-F0-9]{24}$Header Parameters
Idempotency-Key*string
Unique value up to 128 characters. Matching requests are replayed for 24 hours.
Length
1 <= length <= 128Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Properties
1 <= propertiesResponse Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PATCH "https://example.com/decks/string" \ -H "Idempotency-Key: string" \ -H "Content-Type: application/json" \ -d '{}'{ "meta": {}, "request_id": "string", "data": { "id": "string", "agency_id": "string", "creator_ids": [ "string" ], "slug": "string", "title": "string", "bio": "string", "contact_email": "[email protected]", "tags": [ "string" ], "picture_url": "http://example.com", "cover_url": "http://example.com", "theme": "string", "accent_color": "string", "cta": "partnerWithMe", "location": "string", "background_color": "string", "visibility": "link", "has_password": true, "editor_url": "http://example.com", "share_url": "http://example.com", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }}