Open Inventory / Docs
EndpointsAccess controlApiAccessRulesId

Delete a conditional inventory access rule

The API runs on your application instance. Schemas and field names come directly from the OpenAPI specification. Session-authenticated requests require a session on that instance.

DELETE
/api/access/rules/{id}

Requires an authenticated browser session with the roles.manage permission. Deleting a rule revokes user-bound API tokens for its role.

Authorization

adminSession
cookieauthjs.session-token<token>

Authenticated Auth.js browser session cookie; each operation declares its required permission. Not restricted to administrators. HTTPS deployments use the secure-prefixed cookie variant.

Path Parameters

id*string

Inventory access rule identifier.

Formatuuid

Header Parameters

X-Organization-ID?string

Organization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.

Formatuuid

Response Body

Inventory access rule deleted

Example Request
curl -X DELETE 'https://example.com/api/access/rules/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
Empty