Update a document type
PUT
https://api.expirationreminder.net/v1/categories/{id}Path Parameters
id
string
RequiredRequest Body
| Property | Type | Required | Description |
|---|---|---|---|
name |
string |
Yes | - |
id |
string (uuid) |
No | - |
modified |
string |
No | - |
is_active |
boolean |
No | - |
team_id |
string (uuid) |
No | - |
custom_fields |
object[] |
No | - |
Sample Request
{
"name": "string",
"id": "00000000-0000-0000-0000-000000000000",
"modified": "string",
"is_active": false,
"team_id": "00000000-0000-0000-0000-000000000000",
"custom_fields": [
{
"id": "00000000-0000-0000-0000-000000000000",
"name": "string",
"internal_name": "string"
}
]
}PUT /v1/categories/{id}
$ curl https://api.expirationreminder.net/v1/categories/{id} \
-H "Authorization: Bearer <token>"
Responses
| Property | Type | Description |
|---|---|---|
name |
string |
- |
id |
string (uuid) |
- |
modified |
string |
- |
is_active |
boolean |
- |
team_id |
string (uuid) |
- |
custom_fields |
object[] |
- |
Example Response
{
"name": "string",
"id": "00000000-0000-0000-0000-000000000000",
"modified": "string",
"is_active": false,
"team_id": "00000000-0000-0000-0000-000000000000",
"custom_fields": [
{
"id": "00000000-0000-0000-0000-000000000000",
"name": "string",
"internal_name": "string"
}
]
}Not Found
| Property | Type | Description |
|---|---|---|
message |
string |
- |
ok |
boolean |
- |
Example Response
{
"message": "string",
"ok": false
}