Security Schemes

List Security Schemes

get

List all Security Schemes items.

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
versionIdstring · min: 30 · max: 30Required

Catalog version identifier

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
Query parameters
afterstringOptional

Cursor for pagination (item ID)

limitinteger · min: 1 · max: 1000Optional

Maximum number of items to return (default: 50, max: 1000)

Default: 50
sortany ofOptional

Sort order. Use 'prop' for ascending, '-prop' for descending. Multiple params supported (e.g. sort=name&sort=-createdAt)

stringOptional
or
string[]Optional
Responses
chevron-right
200

List of Security Schemes

application/json
get
/v2/catalog/versions/{versionId}/security-schemes

Create Security Scheme

post

Create a new Security Scheme item.

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
versionIdstring · min: 30 · max: 30Required

Catalog version identifier

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
Body

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

idstring · min: 34 · max: 34Optional

Object ID with prefix "sec_sch_"

Default: sec_sch_agob4v2per3ujmlksd54bekdvuExample: sec_sch_c4x6k3w8j7n9b1z5s2t4m8q0ve
typestring · enumRequired

Kind of authentication mechanism (API key, HTTP auth/bearer, mutual TLS, OAuth 2.0, or OpenID Connect).

Example: httpPossible values:
instring · enumOptional

Location of the API key for apiKey schemes (query, header, or cookie).

Example: headerPossible values:
namestringRequired

Identifier for the security scheme; matches the name used when publishing or importing API definitions.

Example: ApiKeyAuth
descriptionstringOptional

Security scheme description in markdown.

Example: Bearer token authentication using JWT.
descriptionBlocksany ofOptional

Security scheme description in ProseMirror JSON blocks.

Example: {"type":"paragraph","content":[{"type":"text","text":"Security scheme description in rich text format."}]}
or
schemestringOptional

HTTP auth scheme label (for example: basic, bearer, digest).

Example: bearer
bearerFormatstringOptional

Optional hint about the bearer token format (for example: JWT).

Example: JWT
flowsanyOptional

OAuth 2.0 flow configuration (e.g., auth code, client credentials) detailing token and authorization URLs.

Example: {"clientCredentials":{"tokenUrl":"https://example.com/oauth/token","scopes":{}}}
openIdConnectUrlstringOptional

OpenID Connect discovery endpoint when type is openIdConnect.

Example: https://example.com/.well-known/openid-configuration
versionIdstring · min: 30 · max: 30Required

Object ID with prefix "ver_"

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
updatedAtstring · nullableOptionalDefault: 2026-02-02T12:32:44.324ZExample: 2024-01-15T10:30:00.000Z
Responses
post
/v2/catalog/versions/{versionId}/security-schemes

Get Security Scheme

get

Get a Security Scheme item by its id.

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
versionIdstring · min: 30 · max: 30Required

Catalog version identifier

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
idstring · min: 34 · max: 34Required

Security Scheme identifier

Example: sec_sch_c4x6k3w8j7n9b1z5s2t4m8q0ve
Responses
chevron-right
200

Security Scheme details

application/json
get
/v2/catalog/versions/{versionId}/security-schemes/{id}

Replace Security Scheme

post

Completely replaces a Security Scheme item by its id.

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
versionIdstring · min: 30 · max: 30Required

Catalog version identifier

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
idstring · min: 34 · max: 34Required

Security Scheme identifier

Example: sec_sch_c4x6k3w8j7n9b1z5s2t4m8q0ve
Body

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

idstring · min: 34 · max: 34Optional

Object ID with prefix "sec_sch_"

Default: sec_sch_agob4v2per3ujmlksd54bekdvuExample: sec_sch_c4x6k3w8j7n9b1z5s2t4m8q0ve
typestring · enumRequired

Kind of authentication mechanism (API key, HTTP auth/bearer, mutual TLS, OAuth 2.0, or OpenID Connect).

Example: httpPossible values:
instring · enumOptional

Location of the API key for apiKey schemes (query, header, or cookie).

Example: headerPossible values:
namestringRequired

Identifier for the security scheme; matches the name used when publishing or importing API definitions.

Example: ApiKeyAuth
descriptionstringOptional

Security scheme description in markdown.

Example: Bearer token authentication using JWT.
descriptionBlocksany ofOptional

Security scheme description in ProseMirror JSON blocks.

Example: {"type":"paragraph","content":[{"type":"text","text":"Security scheme description in rich text format."}]}
or
schemestringOptional

HTTP auth scheme label (for example: basic, bearer, digest).

Example: bearer
bearerFormatstringOptional

Optional hint about the bearer token format (for example: JWT).

Example: JWT
flowsanyOptional

OAuth 2.0 flow configuration (e.g., auth code, client credentials) detailing token and authorization URLs.

Example: {"clientCredentials":{"tokenUrl":"https://example.com/oauth/token","scopes":{}}}
openIdConnectUrlstringOptional

OpenID Connect discovery endpoint when type is openIdConnect.

Example: https://example.com/.well-known/openid-configuration
versionIdstring · min: 30 · max: 30Required

Object ID with prefix "ver_"

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
updatedAtstring · nullableOptionalDefault: 2026-02-02T12:32:44.324ZExample: 2024-01-15T10:30:00.000Z
Responses
chevron-right
200

Security Scheme replaced

application/json
post
/v2/catalog/versions/{versionId}/security-schemes/{id}

Delete Security Scheme

delete

Delete a Security Scheme item by its id.

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
versionIdstring · min: 30 · max: 30Required

Catalog version identifier

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
idstring · min: 34 · max: 34Required

Security Scheme identifier

Example: sec_sch_c4x6k3w8j7n9b1z5s2t4m8q0ve
Responses
delete
/v2/catalog/versions/{versionId}/security-schemes/{id}

No content

Update Security Scheme

patch

Partially updates a Security Scheme item by its id.

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
versionIdstring · min: 30 · max: 30Required

Catalog version identifier

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
idstring · min: 34 · max: 34Required

Security Scheme identifier

Example: sec_sch_c4x6k3w8j7n9b1z5s2t4m8q0ve
Body
idstring · min: 34 · max: 34Optional

Object ID with prefix "sec_sch_"

Default: sec_sch_agob4v2per3ujmlktcs7cfe3umExample: sec_sch_c4x6k3w8j7n9b1z5s2t4m8q0ve
typestring · enumOptional

Kind of authentication mechanism (API key, HTTP auth/bearer, mutual TLS, OAuth 2.0, or OpenID Connect).

Example: httpPossible values:
instring,null · enum · nullableOptional

Location of the API key for apiKey schemes (query, header, or cookie).

Example: headerPossible values:
namestringOptional

Identifier for the security scheme; matches the name used when publishing or importing API definitions.

Example: ApiKeyAuth
descriptionstringOptional

Security scheme description in markdown.

Example: Bearer token authentication using JWT.
descriptionBlocksany ofOptional

Security scheme description in ProseMirror JSON blocks.

Example: {"type":"paragraph","content":[{"type":"text","text":"Security scheme description in rich text format."}]}
or
schemestringOptional

HTTP auth scheme label (for example: basic, bearer, digest).

Example: bearer
bearerFormatstringOptional

Optional hint about the bearer token format (for example: JWT).

Example: JWT
flowsanyOptional

OAuth 2.0 flow configuration (e.g., auth code, client credentials) detailing token and authorization URLs.

Example: {"clientCredentials":{"tokenUrl":"https://example.com/oauth/token","scopes":{}}}
openIdConnectUrlstringOptional

OpenID Connect discovery endpoint when type is openIdConnect.

Example: https://example.com/.well-known/openid-configuration
versionIdstring · min: 30 · max: 30Optional

Object ID with prefix "ver_"

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
updatedAtstring · nullableOptionalDefault: 2026-02-02T12:32:44.324ZExample: 2024-01-15T10:30:00.000Z
Responses
chevron-right
200

Security Scheme updated

application/json
patch
/v2/catalog/versions/{versionId}/security-schemes/{id}

List Security Schemes

get

List all Security Schemes items.

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
projectRefany ofRequired

Project slug or project id (proj_*)

string · min: 31 · max: 31Optional

Object ID with prefix "proj_"

Example: proj_c4x6k3w8j7n9b1z5s2t4m8q0ve
or
string · min: 1Optional
versionTypestring · enumRequired

Version type, can be either 'branch' or 'environment'

Example: branchPossible values:
versionSlugstring · min: 1Required

Version slug

Example: main
Query parameters
afterstringOptional

Cursor for pagination (item ID)

limitinteger · min: 1 · max: 1000Optional

Maximum number of items to return (default: 50, max: 1000)

Default: 50
sortany ofOptional

Sort order. Use 'prop' for ascending, '-prop' for descending. Multiple params supported (e.g. sort=name&sort=-createdAt)

stringOptional
or
string[]Optional
Responses
chevron-right
200

List of Security Schemes

application/json
get
/v2/catalog/projects/{projectRef}/{versionType}/{versionSlug}/security-schemes

Create Security Scheme

post

Create a new Security Scheme item.

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
projectRefany ofRequired

Project slug or project id (proj_*)

string · min: 31 · max: 31Optional

Object ID with prefix "proj_"

Example: proj_c4x6k3w8j7n9b1z5s2t4m8q0ve
or
string · min: 1Optional
versionTypestring · enumRequired

Version type, can be either 'branch' or 'environment'

Example: branchPossible values:
versionSlugstring · min: 1Required

Version slug

Example: main
Body

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

idstring · min: 34 · max: 34Optional

Object ID with prefix "sec_sch_"

Default: sec_sch_agob4v2per3ujmlksd54bekdvuExample: sec_sch_c4x6k3w8j7n9b1z5s2t4m8q0ve
typestring · enumRequired

Kind of authentication mechanism (API key, HTTP auth/bearer, mutual TLS, OAuth 2.0, or OpenID Connect).

Example: httpPossible values:
instring · enumOptional

Location of the API key for apiKey schemes (query, header, or cookie).

Example: headerPossible values:
namestringRequired

Identifier for the security scheme; matches the name used when publishing or importing API definitions.

Example: ApiKeyAuth
descriptionstringOptional

Security scheme description in markdown.

Example: Bearer token authentication using JWT.
descriptionBlocksany ofOptional

Security scheme description in ProseMirror JSON blocks.

Example: {"type":"paragraph","content":[{"type":"text","text":"Security scheme description in rich text format."}]}
or
schemestringOptional

HTTP auth scheme label (for example: basic, bearer, digest).

Example: bearer
bearerFormatstringOptional

Optional hint about the bearer token format (for example: JWT).

Example: JWT
flowsanyOptional

OAuth 2.0 flow configuration (e.g., auth code, client credentials) detailing token and authorization URLs.

Example: {"clientCredentials":{"tokenUrl":"https://example.com/oauth/token","scopes":{}}}
openIdConnectUrlstringOptional

OpenID Connect discovery endpoint when type is openIdConnect.

Example: https://example.com/.well-known/openid-configuration
versionIdstring · min: 30 · max: 30Required

Object ID with prefix "ver_"

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
updatedAtstring · nullableOptionalDefault: 2026-02-02T12:32:44.324ZExample: 2024-01-15T10:30:00.000Z
Responses
post
/v2/catalog/projects/{projectRef}/{versionType}/{versionSlug}/security-schemes

Get Security Scheme

get

Get a Security Scheme item by its id.

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
projectRefany ofRequired

Project slug or project id (proj_*)

string · min: 31 · max: 31Optional

Object ID with prefix "proj_"

Example: proj_c4x6k3w8j7n9b1z5s2t4m8q0ve
or
string · min: 1Optional
versionTypestring · enumRequired

Version type, can be either 'branch' or 'environment'

Example: branchPossible values:
versionSlugstring · min: 1Required

Version slug

Example: main
idstring · min: 34 · max: 34Required

Security Scheme identifier

Example: sec_sch_c4x6k3w8j7n9b1z5s2t4m8q0ve
Responses
chevron-right
200

Security Scheme details

application/json
get
/v2/catalog/projects/{projectRef}/{versionType}/{versionSlug}/security-schemes/{id}

Replace Security Scheme

post

Completely replaces a Security Scheme item by its id.

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
projectRefany ofRequired

Project slug or project id (proj_*)

string · min: 31 · max: 31Optional

Object ID with prefix "proj_"

Example: proj_c4x6k3w8j7n9b1z5s2t4m8q0ve
or
string · min: 1Optional
versionTypestring · enumRequired

Version type, can be either 'branch' or 'environment'

Example: branchPossible values:
versionSlugstring · min: 1Required

Version slug

Example: main
idstring · min: 34 · max: 34Required

Security Scheme identifier

Example: sec_sch_c4x6k3w8j7n9b1z5s2t4m8q0ve
Body

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

idstring · min: 34 · max: 34Optional

Object ID with prefix "sec_sch_"

Default: sec_sch_agob4v2per3ujmlksd54bekdvuExample: sec_sch_c4x6k3w8j7n9b1z5s2t4m8q0ve
typestring · enumRequired

Kind of authentication mechanism (API key, HTTP auth/bearer, mutual TLS, OAuth 2.0, or OpenID Connect).

Example: httpPossible values:
instring · enumOptional

Location of the API key for apiKey schemes (query, header, or cookie).

Example: headerPossible values:
namestringRequired

Identifier for the security scheme; matches the name used when publishing or importing API definitions.

Example: ApiKeyAuth
descriptionstringOptional

Security scheme description in markdown.

Example: Bearer token authentication using JWT.
descriptionBlocksany ofOptional

Security scheme description in ProseMirror JSON blocks.

Example: {"type":"paragraph","content":[{"type":"text","text":"Security scheme description in rich text format."}]}
or
schemestringOptional

HTTP auth scheme label (for example: basic, bearer, digest).

Example: bearer
bearerFormatstringOptional

Optional hint about the bearer token format (for example: JWT).

Example: JWT
flowsanyOptional

OAuth 2.0 flow configuration (e.g., auth code, client credentials) detailing token and authorization URLs.

Example: {"clientCredentials":{"tokenUrl":"https://example.com/oauth/token","scopes":{}}}
openIdConnectUrlstringOptional

OpenID Connect discovery endpoint when type is openIdConnect.

Example: https://example.com/.well-known/openid-configuration
versionIdstring · min: 30 · max: 30Required

Object ID with prefix "ver_"

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
updatedAtstring · nullableOptionalDefault: 2026-02-02T12:32:44.324ZExample: 2024-01-15T10:30:00.000Z
Responses
chevron-right
200

Security Scheme replaced

application/json
post
/v2/catalog/projects/{projectRef}/{versionType}/{versionSlug}/security-schemes/{id}

Delete Security Scheme

delete

Delete a Security Scheme item by its id.

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
projectRefany ofRequired

Project slug or project id (proj_*)

string · min: 31 · max: 31Optional

Object ID with prefix "proj_"

Example: proj_c4x6k3w8j7n9b1z5s2t4m8q0ve
or
string · min: 1Optional
versionTypestring · enumRequired

Version type, can be either 'branch' or 'environment'

Example: branchPossible values:
versionSlugstring · min: 1Required

Version slug

Example: main
idstring · min: 34 · max: 34Required

Security Scheme identifier

Example: sec_sch_c4x6k3w8j7n9b1z5s2t4m8q0ve
Responses
delete
/v2/catalog/projects/{projectRef}/{versionType}/{versionSlug}/security-schemes/{id}

No content

Update Security Scheme

patch

Partially updates a Security Scheme item by its id.

SecurityScheme is an authentication scheme definition covering API keys, HTTP auth (including bearer), mutual TLS, OAuth 2.0, and OpenID Connect that callers must satisfy.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
projectRefany ofRequired

Project slug or project id (proj_*)

string · min: 31 · max: 31Optional

Object ID with prefix "proj_"

Example: proj_c4x6k3w8j7n9b1z5s2t4m8q0ve
or
string · min: 1Optional
versionTypestring · enumRequired

Version type, can be either 'branch' or 'environment'

Example: branchPossible values:
versionSlugstring · min: 1Required

Version slug

Example: main
idstring · min: 34 · max: 34Required

Security Scheme identifier

Example: sec_sch_c4x6k3w8j7n9b1z5s2t4m8q0ve
Body
idstring · min: 34 · max: 34Optional

Object ID with prefix "sec_sch_"

Default: sec_sch_agob4v2per3ujmlkug7u5thhfmExample: sec_sch_c4x6k3w8j7n9b1z5s2t4m8q0ve
typestring · enumOptional

Kind of authentication mechanism (API key, HTTP auth/bearer, mutual TLS, OAuth 2.0, or OpenID Connect).

Example: httpPossible values:
instring,null · enum · nullableOptional

Location of the API key for apiKey schemes (query, header, or cookie).

Example: headerPossible values:
namestringOptional

Identifier for the security scheme; matches the name used when publishing or importing API definitions.

Example: ApiKeyAuth
descriptionstringOptional

Security scheme description in markdown.

Example: Bearer token authentication using JWT.
descriptionBlocksany ofOptional

Security scheme description in ProseMirror JSON blocks.

Example: {"type":"paragraph","content":[{"type":"text","text":"Security scheme description in rich text format."}]}
or
schemestringOptional

HTTP auth scheme label (for example: basic, bearer, digest).

Example: bearer
bearerFormatstringOptional

Optional hint about the bearer token format (for example: JWT).

Example: JWT
flowsanyOptional

OAuth 2.0 flow configuration (e.g., auth code, client credentials) detailing token and authorization URLs.

Example: {"clientCredentials":{"tokenUrl":"https://example.com/oauth/token","scopes":{}}}
openIdConnectUrlstringOptional

OpenID Connect discovery endpoint when type is openIdConnect.

Example: https://example.com/.well-known/openid-configuration
versionIdstring · min: 30 · max: 30Optional

Object ID with prefix "ver_"

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
updatedAtstring · nullableOptionalDefault: 2026-02-02T12:32:44.324ZExample: 2024-01-15T10:30:00.000Z
Responses
chevron-right
200

Security Scheme updated

application/json
patch
/v2/catalog/projects/{projectRef}/{versionType}/{versionSlug}/security-schemes/{id}

Last updated