Search Documentation

Search API endpoints, webhooks, tools, and guides

On this page6 sections
Is this helpful?
Quick Actions
Download OpenAPI.json
POST/api/outlets/delete-outletsOutletsPermission: outlet.delete

Delete Outlets

Soft-archives one or more outlets within the active tenant. Enforces accessible outlet scope for restricted actors.

Authentication: Requires Authorization: Bearer <ACCESS_TOKEN> (Supabase JWT, OAuth2 M2M token, or integration token).

Outlet Scope Enforcement: Results and mutations are automatically scoped to the actor's accessible outlets when the outlet module restriction applies.

Request

Provide the following fields in the request payload.

Body application/json
idsarray<string (uuid)>required

ids parameter.

Responses

Select a status code to inspect schema.

OK — Outlets deleted successfully.application/json
successenum('true')

Success (true).

messagestring

Message.

dataobject | null

Response payload or null.

POST/api/outlets/delete-outlets
curl -X POST "https://api.invoger.com/api/outlets/delete-outlets" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{ "ids": [ "o2b3c4d5-e6f7-8a9b-0c1d-2e3f4a5b6c7d" ] }'
Interactive playground

Response

application/json
{
  "success": true,
  "message": "Outlets deleted successfully",
  "data": null
}