Skip to main content
PATCH
https://api.rankspot.ai
/
v1
/
categories
/
{id}
Update a category
curl --request PATCH \
  --url https://api.rankspot.ai/v1/categories/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Content Marketing"
}
'
{
  "id": "clx...",
  "name": "SEO",
  "color": "violet",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
name
string
Example:

"Content Marketing"

Response

id
string
required
Example:

"clx..."

name
string
required
Example:

"SEO"

color
string
required
Example:

"violet"

createdAt
string<date-time>
required
updatedAt
string<date-time>
required