curl --request PATCH \
--url https://api.meetcampfire.com/coa/api/department/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"active": true,
"code": "<string>",
"name": "<string>",
"display_name": "<string>",
"tag_ids": [
0
],
"tag_group_ids": [
0
],
"parent": 123
}
'{
"id": 123,
"parent_name": "<string>",
"tags": [
{
"id": 123,
"group_name": "<string>",
"parent_name": "<string>",
"is_deleted": false,
"deleted_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"parent": 123,
"is_active": true,
"group": 123
}
],
"last_modified_at": "2023-11-07T05:31:56Z",
"code": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"customer": 123,
"active": true,
"display_name": "<string>",
"tag_ids": [
0
],
"tag_group_ids": [
0
],
"parent": 123
}curl --request PATCH \
--url https://api.meetcampfire.com/coa/api/department/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"active": true,
"code": "<string>",
"name": "<string>",
"display_name": "<string>",
"tag_ids": [
0
],
"tag_group_ids": [
0
],
"parent": 123
}
'{
"id": 123,
"parent_name": "<string>",
"tags": [
{
"id": 123,
"group_name": "<string>",
"parent_name": "<string>",
"is_deleted": false,
"deleted_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"parent": 123,
"is_active": true,
"group": 123
}
],
"last_modified_at": "2023-11-07T05:31:56Z",
"code": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"customer": 123,
"active": true,
"display_name": "<string>",
"tag_ids": [
0
],
"tag_group_ids": [
0
],
"parent": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.campfire.ai/llms.txt
Use this file to discover all available pages before exploring further.
Token-based authentication with required prefix "Token"
250250600-9223372036854776000 <= x <= 9223372036854776000-9223372036854776000 <= x <= 9223372036854776000Show child attributes
250250600-9223372036854776000 <= x <= 9223372036854776000-9223372036854776000 <= x <= 9223372036854776000