PUT groups Id

PUT
/groups/{id}

Authorization

Bearer
headerAuthorizationBearer <token>

Paste your JWT token here

Path Parameters

id*integer

The unique identifier of the group to update.

Formatint32

Request Body

The data transfer object containing the updated group information.

application/json
  1. body

Defines the DTO for updating an existing group, containing all necessary information for modifying a group's properties. The GroupUpdateDTO is used to transfer data from the client to the server when updating an existing group, allowing for changes to be made to the group's details while ensuring that the provided information is validated appropriately for the update process.

name*string

The name of the Group.

Length0 <= length <= 100
active*boolean

Status of the group. Inactive groups are hidden from administrative views to prevent clutter, but are preserved in the database for historical records and statistics (e.g., the Almanac).

type*GroupType

Defines the type of a Group.

Formatint32
Value in"Committee""WorkingGroup""Dispute"

Response Body

No Content

curl -X PUT 'https://example.com/groups/0' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "active": true,  "type": "Committee"}'
Empty