rbac_permissions_users_update
PUT/api/v3//rbac/permissions/users/:id/
Get a users's assigned object permissions
Request
Path Parameters
id integerrequired
A unique integer value identifying this user object permission.
- application/json
Bodyrequired
object_pkstringrequired
Possible values: non-empty
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (auto)
Schema
idintegerrequired
codenamestringrequired
modelPython model class name (string)required
app_labelstringrequired
object_pkstringrequired
namestringrequired
app_label_verbosestringrequired
Get app label from permission's model
model_verbosestringrequired
Get model label from permission's model
object_descriptionstringnullablerequired
Get model description from attached model. This operation takes at least one additional query, and the description is only shown if the user/role has the view_ permission on the object
{
"id": 0,
"codename": "string",
"model": "string",
"app_label": "string",
"object_pk": "string",
"name": "string",
"app_label_verbose": "string",
"model_verbose": "string",
"object_description": "string"
}
- application/json
- Schema
- Example (auto)
Schema
non_field_errorsstring[]
codestring
property name*any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
detailstringrequired
codestring
{
"detail": "string",
"code": "string"
}
Authorization: http
name: authentiktype: httpscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP