Update Group Information
PUT/groups/1
Update Group Information
Request
- application/json
Body
required
subject stringrequired
description stringrequired
profile_url stringrequired
permissions objectrequired
allow_send booleanrequired
Responses
- 200
- 403
- 404
- 406
- 422
General Success Response
- application/json
- Schema
- Example (from schema)
Schema
status integer
HTTP Status Code
message string
HTTP Status Message
{
"status": 200,
"message": "Ok"
}
General Forbidden Error Response
- application/json
- Schema
- Example (from schema)
Schema
status integer
Forbidden
message string
HTTP Status Message
{
"status": 403,
"message": "Forbidden"
}
General Not Found Error Response
- application/json
- Schema
- Example (from schema)
Schema
status integer
Not Found
message string
HTTP Status Message
{
"status": 404,
"message": "Not Found"
}
Not Acceptable
Response Headers
Date any
Content-Length any
- application/json; charset=utf-8
- Schema
- Example (from schema)
- Example
Schema
code int32required
message stringrequired
{
"code": 406,
"message": "Key: 'GroupUpdateRequest.Subject' Error:Field validation for 'Subject' failed on the 'required' tag"
}
{
"code": 406,
"message": "Key: 'GroupUpdateRequest.Subject' Error:Field validation for 'Subject' failed on the 'required' tag"
}
General Validation Error Response
- application/json
- Schema
- Example (from schema)
Schema
status integer
HTTP Status Code
message string
HTTP Status Message
errors string[]
{
"status": 422,
"message": "Validation Error ",
"errors": [
"string"
]
}
Loading...