/api/v2/bpm/permissions/{permission_id}
Метод удаляет разрешение по ID
Path Parameters
- permission_id integer required
ID разрешения. Чаще всего это запрет или разрешение на использование какого-то эндпоинта
Example: 8
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "permission is deleted",
"response": {}
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Permission not found",
"response": {},
"preparingsTime": 0.07
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Authentication credentials were not provided.",
"response": {
"detail": "Authentication credentials were not provided."
},
"preparingsTime": 0.003
}
Loading...