rules
Cria um novo Perfil de Acesso.
post/v2/managers/rules
Request
- Base URL: http://localhost:8888/api
- URL: http://localhost:8888/api/v2/managers/rules
- Auth: API key in header authorization
Request body
Example request
{
"title": "Estagiário",
"key": "estagiario",
"description": "Breve descrição",
"permissions": [
"create_vacancy"
]
}Response
Sucesso de Retorno!
Example response
{
"message": "Ação realizada com sucesso!",
"data": {
"id": 1,
"title": "Administrador",
"key": "administrator",
"permissions": [
{
"id": 1,
"title": "Criar vagas",
"key": "create_vacancy",
"category": "vacancy",
"sub_category": "vacancies"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.