curl --request POST \
--url https://api.example.com/admin/role/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"languageID": 123,
"title": "<string>",
"code": "<string>",
"description": "<string>",
"roleId": null
}
'{
"success": true,
"data": "<unknown>"
}Save a Role.
curl --request POST \
--url https://api.example.com/admin/role/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"languageID": 123,
"title": "<string>",
"code": "<string>",
"description": "<string>",
"roleId": null
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.