> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.gorilladash.com/gorilla-dash-rest-ful-api/website-content/articles/update-article/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.gorilladash.com/_mcp/server. # Update Article PATCH https://api.gorilladash.com/api/v1/website-content/articles/%7BARTICLE_ID%7D Content-Type: application/json Partly updates a article by id. Needs a key with **Website Content: Read and Write** (`website-content:write`). Only the fields you send change, and every field is optional. `PUT` on the same URL behaves the same way. To take an article off the website, send `{"status": "Draft"}`. Reference: https://docs.gorilladash.com/gorilla-dash-rest-ful-api/website-content/articles/update-article ## Request ### Headers - `GorillaDash-Api-Key` (string, optional) — Gorilla Dash API Key - `GorillaDash-Api-Secret` (string, optional) — Gorilla Dash API Secret ### Body (application/json) This endpoint expects an object. - `status` (string, required) ## Response ### 201 Created - `success` (boolean, required) - `status` (integer, required) - `data` (ApiV1WebsiteContentArticles7BarticleId7DPatchResponsesContentApplicationJsonSchemaData, required) ## Errors ### 404 Not Found Error Not Found - `message` (string, required) ## Types ### ApiV1WebsiteContentArticles7BarticleId7DPatchResponsesContentApplicationJsonSchemaData - `id` (integer, required) - `slug` (string, required) - `heading` (string, required) - `author` (string, required) - `abstract` (string, required) - `status` (string, required) - `published_at` (datetime, required) - `updated_at` (datetime, required) - `html` (string, required) - `meta_title` (string, required) - `no_index` (boolean, required) - `categories` (list of string, required) - `media` (ApiV1WebsiteContentArticles7BarticleId7DPatchResponsesContentApplicationJsonSchemaDataMedia, required) - `sub_heading` (any, optional) - `meta_description` (any, optional) ### ApiV1WebsiteContentArticles7BarticleId7DPatchResponsesContentApplicationJsonSchemaDataMedia - `id` (integer, required) - `url` (string, required) ## Examples **Request** ```json { "status": "Draft" } ``` **Response** ```json { "success": true, "status": 201, "data": { "id": 30144, "slug": "the-nfc26-exhibition-is-sold-out", "heading": "The NFC26 Exhibition is SOLD OUT!", "author": "Sarah Stowe", "abstract": "Every stand is taken.", "status": "Published", "published_at": "2026-09-30T23:00:00+00:00", "updated_at": "2026-10-07T01:20:00+00:00", "html": "
Every stand is taken.
", "meta_title": "Sold out", "no_index": false, "categories": [ "latest-news" ], "media": { "id": 812, "url": "https://cdn.gorilladash.com/media/812/board.jpg" } } } ``` **SDK Code** ```python Website Content_Articles_Update Article_example import requests url = "https://api.gorilladash.com/api/v1/website-content/articles/%7BARTICLE_ID%7D" payload = { "status": "Draft" } headers = { "GorillaDash-Api-Key": "{{API_KEY}}", "GorillaDash-Api-Secret": "{{GD_RESTFUL_SECRET}}", "Content-Type": "application/json" } response = requests.patch(url, json=payload, headers=headers) print(response.json()) ``` ```javascript Website Content_Articles_Update Article_example const url = 'https://api.gorilladash.com/api/v1/website-content/articles/%7BARTICLE_ID%7D'; const options = { method: 'PATCH', headers: { 'GorillaDash-Api-Key': '{{API_KEY}}', 'GorillaDash-Api-Secret': '{{GD_RESTFUL_SECRET}}', 'Content-Type': 'application/json' }, body: '{"status":"Draft"}' }; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go Website Content_Articles_Update Article_example package main import ( "fmt" "strings" "net/http" "io" ) func main() { url := "https://api.gorilladash.com/api/v1/website-content/articles/%7BARTICLE_ID%7D" payload := strings.NewReader("{\n \"status\": \"Draft\"\n}") req, _ := http.NewRequest("PATCH", url, payload) req.Header.Add("GorillaDash-Api-Key", "{{API_KEY}}") req.Header.Add("GorillaDash-Api-Secret", "{{GD_RESTFUL_SECRET}}") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby Website Content_Articles_Update Article_example require 'uri' require 'net/http' url = URI("https://api.gorilladash.com/api/v1/website-content/articles/%7BARTICLE_ID%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Patch.new(url) request["GorillaDash-Api-Key"] = '{{API_KEY}}' request["GorillaDash-Api-Secret"] = '{{GD_RESTFUL_SECRET}}' request["Content-Type"] = 'application/json' request.body = "{\n \"status\": \"Draft\"\n}" response = http.request(request) puts response.read_body ``` ```java Website Content_Articles_Update Article_example import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse