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.
Requires an authenticated browser session with the roles.manage permission. Deleting a rule revokes user-bound API tokens for its role.
adminSessionauthjs.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.
id*stringInventory access rule identifier.
uuidX-Organization-ID?stringOrganization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.
uuidInventory access rule deleted
curl -X DELETE 'https://example.com/api/access/rules/497f6eca-6276-4993-bfeb-53cbbbba6f08'Create a conditional inventory access rule POST
Requires an authenticated browser session with the roles.manage permission. The rule grants its permissions to members of the selected role only for inventory items that match every condition.
Update a conditional inventory access rule PATCH
Requires an authenticated browser session with the roles.manage permission. Changing a rule revokes user-bound API tokens for its previous and current roles.