Skip to main content
PUT
/
categories
/
{id}
Update Category
curl --request PUT \
  --url https://api.proced.ai/categories/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Updated Category Title"
}
'
{
  "id": "cm2uqwcpd002s7xta3b1j8q3p",
  "name": "New Category Title",
  "workspaceId": "cm2uj5ffn001x7xtag73jmpx0",
  "createdAt": "2024-01-01T09:00:00.000Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required
Example:

"cm0upgshc000rwf5eop1u2awr"

Body

application/json
name
string

The updated name or title of the category

Example:

"Updated Category Title"

Response

Update Category

id
string
required

Unique project ID, typically generated automatically

Example:

"cm2uqwcpd002s7xta3b1j8q3p"

name
string
required

The name or title of the category

Example:

"New Category Title"

workspaceId
string
required

Workspace ID to which the project belongs

Example:

"cm2uj5ffn001x7xtag73jmpx0"

createdAt

The creation date and time of the project, set automatically

Example:

"2024-01-01T09:00:00.000Z"