Skip to main content
POST
Register an edge type

Authorizations

Authorization
string
header
required

Pass an API key (marfa_k1_...) or OAuth access token (marfa_at_...)

Body

application/json
id
string
required
Minimum string length: 1
cardinality
enum<string>
required
Available options:
one-to-one,
one-to-many,
many-to-one,
many-to-many
label
string
description
string
source_type_constraints
string[]
target_type_constraints
string[]
cascade_on_delete
enum<string>
Available options:
cascade,
orphan,
block
property_schema
object

Response

Edge type registered

edge_type
object
required