Open Inventory / Docs
EndpunkteInventory structureRelationsRelationid

Remove a manual resource relationship

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
/relations/{relationId}

Spatially derived relationships cannot be deleted directly. After deletion, spatial containment is recalculated.

Authentifizierung

bearerAuth
headerAuthentifizierungBearer <inv_ token>

Pfadparameter

relationId*string
Formatuuid

Abfrageparameter

resourceId*string

One endpoint of the relationship, used to scope the deletion.

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

Manual relationship removed

Beispielanfrage
curl -X DELETE 'https://inventory.example.com/api/v1/relations/497f6eca-6276-4993-bfeb-53cbbbba6f08?resourceId=497f6eca-6276-4993-bfeb-53cbbbba6f08'
Beispielantwort
Leer