api.accounts.permission
— Permission manipulation¶
/accounts/permission¶
-
api.accounts.permission.views.
permission_list
(*args, **kwargs)¶ List (
GET
) all available permissions.-
GET
/accounts/permission
¶ DC-bound?: Permissions: Asynchronous?: Parameters: - data.full (boolean) – Return list of all permissions with permission details (default: false)
- data.order_by (string) – Available fields for sorting:
name
(default:name
)
Status Codes: - 200 OK – SUCCESS
- 403 Forbidden – Forbidden
-
/accounts/permission/(name)¶
-
api.accounts.permission.views.
permission_manage
(*args, **kwargs)¶ Show (
GET
) details of a permission.Adding, editing or deleting pre-defined permissions is not allowed.
-
GET
/accounts/permission/
(name)¶ DC-bound?: Permissions: Asynchronous?: Parameters: - name (string) – required - Permission name
Status Codes: - 200 OK – SUCCESS
- 403 Forbidden – Forbidden
- 404 Not Found – Permission not found
-