Skip to content

Update Feed

Update properties of an existing feed.

PATCH/v1/feeds/{feed_id}

Overview

Update feed properties. Only the feed owner can update. All fields are optional - include only what you want to change.

Authentication

Required: Yes
Payment: No

Request

Path Parameters

ParameterTypeRequired
feed_idstring (UUID)Yes

Body Parameters

All optional - include only fields to update:

ParameterTypeDescription
namestringNew feed name
descriptionstringNew description
tagsstring[]Replace tags array
is_activebooleanEnable/disable feed
category_idstring (UUID)New category
image_cidstringNew image CID

Example

{
  "name": "Updated Blog Name",
  "description": "New description here",
  "tags": ["tech", "updated"],
  "is_active": true
}

Response

Status: 200 OK

Returns the updated feed object.

Code Examples

cURL

curl -X PATCH https://api.grapevine.fyi/v1/feeds/{feed_id} \
  -H "Content-Type: application/json" \
  -H "x-wallet-address: 0x..." \
  -H "x-signature: 0x..." \
  -H "x-message: ..." \
  -H "x-timestamp: 1234567890" \
  -H "x-chain-id: 8453" \
  -d '{
    "name": "Updated Name",
    "is_active": true
  }'

SDK

const updated = await grapevine.feeds.update(feedId, {
  name: 'Updated Name',
  description: 'New description',
  is_active: true
});

CLI

grapevine feed update {feed_id} \
  --name "Updated Name" \
  --description "New description" \
  --active true

Related Endpoints

External Playground

Try this endpoint interactively:
https://api.grapevine.fyi/v1/docs#/Feeds/patch_v1_feeds__feed_id_