Skip to main content

Update a group, including its sponsorship and quota

PATCH 

/groups/:group_id

Updates the name and description, and the sponsorship of the group.

  • isSponsored: true makes the group sponsored: reads of the owner's data allowed by the group to its attached organizations are then paid by the owner. It requires the owner organization to be enterprise (post-paid), every grant of the group to be a cluster-data grant (rooted on a cluster), and no attached organization to already hold a sponsored group of the same owner. Direct (group_users) members are never sponsored.
  • monthlyQuota (EUR, 0 to 10,000,000, null for no cap) and quotaMessage apply to sponsored groups, the quota counts over the Europe/Paris calendar month. warningMessage words the notice clients get near the limit, and isWarningRaised turns that notice on by hand, with or without a quota.
  • Turning isSponsored off puts the group back on normal billing at once. On a permanently suspended group it is allowed, turning it back on is refused.

Answers 200 with data.status updated (and the group, with currentMonth when it is sponsored) or name-taken. A rule refusal is a 409 with its code in error.name.

Requires grant:write and at least the org-admin role of the owner.

Request​

Responses​

The outcome, in data.status