Delete a kit

Delete a brand kit no page is using.

DELETE /organizations/{org}/kits/{kitId}

Deletes the kit. A kit that a page still wears cannot be deleted: move those pages to another kit first.

Authorization

Org owner. Anyone else gets 403 forbidden.

Path parameters

NameTypeDescription
orgstringThe organization: its id (org_…) or its slug. It has to be an org your token can manage (see Who can call it)
kitIdstringThe kit, kit_…

Response

204 No Content

Errors

StatuserrorWhen
403forbiddenYou are not an owner of the org
404not_foundNo such kit in this org, or the id is not a kit_ id
409conflictA page still wears the kit. The detail says how many
404not_foundThe org does not exist, or your token cannot manage it

Example

curl -X DELETE https://loginwith.loginwith.dev/organizations/acme/kits/kit_65f1c2a9e4b0d3f7a1c8e906 \
  -H "Authorization: Bearer $TOKEN"