Contents

PATCH [/instances/$INSTANCE]/private/groups/$GROUP_ID#

This is used to update a group.

Required permission: groups-write

Request:

The request body must be a GroupPatchRequest.

Response:

204 No content:

The group has successfully modified.

400 Bad Request:

The group ID parameter is malformed. Returned with TALER_EC_GENERIC_PARAMETER_MALFORMED.

404 Not found:

The group or instance is unknown to the backend. Returned with TALER_EC_MERCHANT_GENERIC_PRODUCT_GROUP_UNKNOWN.

409 Conflict:

The specified group name is already in use. Returned with TALER_EC_MERCHANT_PRIVATE_PRODUCT_GROUP_CONFLICTING_NAME.

500 Internal Server Error:

The server experienced an internal failure. Returned with TALER_EC_GENERIC_DB_STORE_FAILED.

Details:

interface GroupPatchRequest {

  // Unique name for the group (unique per instance).
  group_name: string;

  // Description of the group.
  description: string;

}