Add a member to a group
post
Authorizations
defguard_sessionstringRequired
Path parameters
idinteger · int64Required
ID of the group.
Body
usernamestringRequired
Responses
200
Member added to the group.
No content
401
Session is missing or invalid.
application/json
403
Requires admin privileges.
application/json
404
User or group not found.
application/json
500
Unable to add group member.
application/json
post/api/v1/group/{id}
POST /api/v1/group/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"username": "text"
}No content
Last updated
Was this helpful?