DOCS / API REFERENCE

Delete a coop

DELETE /v1/coops/{coop_id}

DELETEHenHouse API v1

Request

DELETE /v1/coops/{coop_id}

Authenticate with a bearer token. Create one with POST /v1/tokens or cluck login.

Parameters

NameTypeDescription
coop_idstringThe coop ID (path)
confirmstringMust equal the coop name

Example

curl -X DELETE https://api.pollosoft.example/v1/coops/coop_8f2a?confirm=example \
  -H "Authorization: Bearer $COOP_TOKEN"

Response

A successful call returns 200 OK with JSON like this:

{
  "id": "coop_8f2a",
  "deleted": true
}

Errors

IdempotencyThis endpoint is safe to retry. Reads do not lay eggs.