access-token: ********************{
"name": "string",
"description": "string",
"useronly": 0,
"is_display": 0,
"type": "string",
"config": [
{
"smtp_address": "string",
"smtp_host": "string",
"smtp_username": "string",
"smtp_password": "string",
"smtp_port": "string"
}
],
"admin": [
{
"id": 0
}
],
"datacente": [
{
"id": 0
}
]
}curl --location --request PUT '/admin/departments/' \
--header 'access-token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"description": "string",
"useronly": 0,
"is_display": 0,
"type": "string",
"config": [
{
"smtp_address": "string",
"smtp_host": "string",
"smtp_username": "string",
"smtp_password": "string",
"smtp_port": "string"
}
],
"admin": [
{
"id": 0
}
],
"datacente": [
{
"id": 0
}
]
}'{
"success": true
}