Skip to main content
PATCH
cURL

Path Parameters

gatewayId
string<uuid>
required

Body

application/json
name
string

New name for the gateway. Renaming does not affect the gateway's ID, so resources referencing it keep working.

Required string length: 1 - 64
authMethod
object

Replacement auth method. Same shape as in create: aws with allowlists, gcp with GCP allowlists, kubernetes with cluster config, or token with no config. Existing gateways keep working until they restart and re-authenticate via the new method.

Response

Default Response

id
string<uuid>
required
name
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
canRevoke
boolean
required
authMethod
object
required
identityId
string<uuid> | null
relayId
string<uuid> | null
heartbeat
string<date-time> | null
heartbeatTTL
number | null
directAddress
string | null
directHeartbeat
string<date-time> | null
cliVersion
string | null

Infisical CLI version the gateway reported in its most recent connect or heartbeat request, such as 0.45.11, or devel for a build from source. Null when that request reported none; see cliVersionReportedAt. Self-reported by the gateway and not verified, so don't use it to decide what a gateway supports.

cliVersionReportedAt
string<date-time> | null

When the gateway last sent a connect or heartbeat request as the Infisical CLI. Set while cliVersion is null when the gateway runs a CLI older than v0.43.131, which doesn't report a version. Null when no such request has been recorded. Like cliVersion, it depends on what the gateway reports and is not verified.