Skip to content

Add a parent edge (creates a DAG link)

POST
/teams/{id}/parents

Inserts (parent_id, child_id) into team_parents. The cycle- rejection trigger returns 409 if the link would close a cycle. Requires teams.admin.

id
required
string format: uuid
object
parent_id
required
string format: uuid

Linked

Malformed request

object
error
required

Human-readable error summary

string
Example
the request could not be completed

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}

Authenticated but missing required capabilities

object
error
required

Human-readable error summary

string
Example
the request could not be completed

Resource not found

object
error
required

Human-readable error summary

string
Example
the request could not be completed

Conflict (slug taken, would create cycle, etc.)

object
error
required

Human-readable error summary

string
Example
the request could not be completed