Skip to main content

Suspend a sponsored group's sponsored access

POST 

/groups/:group_id/suspension

Stops the owner paying for the group's clients' reads, without touching the clients' other use of the platform. Sponsored reads are refused until the suspension is lifted, with 402 for a single read, or an entry in errors for a read across datasets. A refusal is free: nobody is charged.

  • kind: temporary can be lifted with DELETE on this path.
  • kind: permanent is final.
  • A temporary suspension can be upgraded to permanent. Switching a permanent suspension to temporary answers 409.
  • Suspending again with the same kind answers 200; suspendedAt keeps its first value, and a message in the body replaces the clients' suspension text (omitted keeps it, null clears it).
  • Only sponsored groups can be suspended, 409 otherwise.

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

Request​

Responses​

The suspended group, with suspendedAt and suspensionKind set, and currentMonth