curl --request PATCH \
--url https://api.meetcampfire.com/coa/api/department/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"code": "<string>",
"name": "<string>",
"active": true,
"parent": 123
}'
{
"id": 123,
"parent_name": "<string>",
"tags": [
{
"id": 123,
"group_name": "<string>",
"parent_name": "<string>",
"parent": 123,
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"group": 123
}
],
"code": "<string>",
"name": "<string>",
"active": true,
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"parent": 123
}
curl --request PATCH \
--url https://api.meetcampfire.com/coa/api/department/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"code": "<string>",
"name": "<string>",
"active": true,
"parent": 123
}'
{
"id": 123,
"parent_name": "<string>",
"tags": [
{
"id": 123,
"group_name": "<string>",
"parent_name": "<string>",
"parent": 123,
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"group": 123
}
],
"code": "<string>",
"name": "<string>",
"active": true,
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"parent": 123
}
Token-based authentication with required prefix "Token"
The response is of type object
.