Skip to main content
POST
cURL
Check out the configuration docs for Hasura Cloud Connections to learn how to obtain the required credentials.

Body

application/json
method
enum<string>
required

The method used to authenticate with Hasura Cloud.

Available options:
access-token
credentials
object
required

The credentials used to connect with Hasura Cloud.

name
string
required

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

Required string length: 1 - 64
description
string | null

An optional description for the Hasura Cloud Connection.

Maximum string length: 256
projectId
string

The ID of the project to create the Hasura Cloud Connection in.

isPlatformManagedCredentials
enum<boolean>

Not supported for Hasura Cloud Connections.

Available options:
false
gatewayId

Not supported for Hasura Cloud Connections.

gatewayPoolId

Not supported for Hasura Cloud Connections.

isAutoRotationEnabled
enum<boolean>

Not supported for Hasura Cloud Connections.

Available options:
false
rotation

Not supported for Hasura Cloud Connections.

Response

Default Response

appConnection
Hasura Cloud (Access Token) · object
required