Skip to main content
PATCH
/
company-types
/
{id}
Update a company type
curl --request PATCH \
  --url https://www.ruddr.io/api/workspace/company-types/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "isActive": true
}
'
{
  "id": "a3f8c2d1-7b4e-4f92-8e5a-1c6d0b9e3f47",
  "name": "Client",
  "isActive": true,
  "createdAt": "2024-03-12T14:22:18.456Z"
}
A classification used to categorize companies within the pipeline.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The company type uuid

Body

application/json
name
string

The name of the company type.

isActive
boolean

Whether the company type is active.

Response

200

id
string

The unique identifier for the object.

name
string

The name of the company type.

isActive
boolean

Whether the company type is active.

createdAt
string<date-time>

The timestamp when the object was created.