Open Inventory / Docs
EndpunkteAccess controlApiAccessRulesId

Delete a conditional inventory access rule

Die API läuft auf deiner Anwendungsinstanz. Schemas und Feldnamen stammen unverändert aus der OpenAPI-Spezifikation. Browsergebundene Aufrufe benötigen eine Sitzung auf der Instanz.

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.

Authentifizierung

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.

Pfadparameter

id*string

Inventory access rule identifier.

Formatuuid

Header-Parameter

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

Antwortinhalt

Inventory access rule deleted

Beispielanfrage
curl -X DELETE 'https://example.com/api/access/rules/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Beispielantwort
Leer