Skip to main content
POST
cURL

Body

application/json
method
enum<string>
required

The method used to authenticate with Ona.

Available options:
personal-access-token
credentials
object
required

The credentials used to connect with Ona.

name
string
required

The name of the Ona Connection to create. Must be slug-friendly.

Required string length: 1 - 64
description
string | null

An optional description for the Ona Connection.

Maximum string length: 256
projectId
string

The ID of the project to create the Ona Connection in.

isPlatformManagedCredentials
enum<boolean>

Not supported for Ona Connections.

Available options:
false
gatewayId

Not supported for Ona Connections.

gatewayPoolId

Not supported for Ona Connections.

isAutoRotationEnabled
enum<boolean>

Not supported for Ona Connections.

Available options:
false
rotation

Not supported for Ona Connections.

Response

Default Response

appConnection
Ona (Personal Access Token) · object
required