# Create/Update notification group Update a notification group exists if exists, create a new one otherwise. Endpoint: PUT /notification-groups Version: 0.0.1 Security: o_auth ## Request fields (application/json): - `emails` (array) - `id` (string,null) - `name` (string, required) - `organisationId` (string, required) - `state` (string) Enum: "active", "deleted" - `webhook` (object) ## Response 201 fields (application/json): - `deletedAt` (string,null) - `emails` (array) - `id` (string,null) - `name` (string, required) - `organisationId` (string, required) - `state` (string) Enum: "active", "deleted" - `webhook` (object) ## Response 400 fields (application/json): - `code` (integer) - `message` (string) ## Response 401 fields (application/json): - `code` (integer) - `message` (string) ## Response 403 fields (application/json): - `code` (integer) - `message` (string) ## Response 410 fields (application/json): - `code` (integer) - `message` (string) ## Response 422 fields (application/json): - `code` (integer) - `message` (string) ## Response 204 fields ## Response 500 fields