Skip to main content

Delete a relation type.

DELETE/api/v1/graph/relation-types/{relation_type_id}custom_fields:write

Removes a relation type nothing uses. 409 in_use names what uses it (fields, templates, links, cross-reference reasons): deactivate it with update_graph_relation_type (is_active false) instead. A relation type the engine derives cannot be deleted. Needs Delete Graph Relation Types.

Scopecustom_fields:write
AsynchronousNo
MCP tooldelete_graph_relation_type
Portal permissionsdelete_graph_relation_types

Parameters​

NameInTypeRequiredDescription
relation_type_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Responses​

StatusDescriptionBody
204Done.
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409in_useapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.