curl --location --globoff --request PUT 'https://.daftra.com/v2/api/entity/v2/api/entity/designation/{{id}}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data '{
"id": 3,
"name": "API desigantion edited",
"branch_id": 1,
"active": 1,
"description": "description",
"department_id": 2
}'{
"id": 4,
"name": "Sales agent",
"branch_id": 1,
"active": 1,
"description": "description",
"department_id": 2
}