Skip to main content
POST
Add routes to a route group

Authorizations

Authorization
string
header
required

An access token from Barndoor's identity provider, sent as Authorization: Bearer <token>. Use a service-account token from the OAuth 2.0 client-credentials grant for scripts and CI, or a signed-in user's token. The caller needs the admin role in the organization. Gateway API keys (bd-...) are not accepted here.

Path Parameters

id
string<uuid>
required

Record ID (UUID)

Body

application/json
model_aliases
string[]
required
change_note
string | null

Optional note explaining this change.

Response

Created

A route group and its member aliases.

description
string
required
id
string<uuid>
required
model_aliases
string[]
required

Member aliases, in alphabetical order. A group can be empty.

name
string
required
org_id
string<uuid>
required
created_by_email
string | null
created_by_name
string | null
created_by_user_id
string<uuid> | null
last_change_note
string | null

Note explaining the last change.

last_modified_at
string<date-time> | null

When the last attributed change was made.

last_modified_by_email
string | null
last_modified_by_name
string | null
last_modified_by_user_id
string<uuid> | null