slug when sent, otherwise from name (lowercased and hyphenated).name is reported with HTTP 200 and a message body; check for _id before treating the response as success.users-permissions-create permission.authorization: ********************{
"name": "Users Users export",
"slug": "users-users-export"
}curl --location 'https://qa-api.kiolinkapp.com/v1/permissions' \
--header 'authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Users Users export",
"slug": "users-users-export"
}'name is also reported with this status, with a message body.{
"_id": "65f1c2a9e4b0a1b2c3d4e5f9",
"name": "Users Users export",
"slug": "users-users-export",
"__v": 0
}