Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"name": "Test 2",
"department": "Engine",
"account_code_type_ids": [
"e1c434cb-1e2a-462a-85e9-44f1017ab100"
],
"level": 2
}
Request Code Samples
curl --location --request POST 'https://mazu-lan.concise.co.id/api/v1/main/roles' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Test 2",
"department": "Engine",
"account_code_type_ids": [
"e1c434cb-1e2a-462a-85e9-44f1017ab100"
],
"level": 2
}'
Responses
application/json Modified at 2025-08-14 08:34:21