core_groups_remove_user_create
POST/api/v3//core/groups/:group_uuid/remove_user/
Add user to group
Request
Path Parameters
group_uuid uuidrequired
A UUID string identifying this Group.
- application/json
Body
required
pk integerrequired
Responses
- 204
- 400
- 403
- 404
User added
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
User not found
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST '/api/v3/core/groups/:group_uuid/remove_user/' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"pk": 0
}'