Skip to main content
PUT
Set per-user token exchange and custom headers on a catalog

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

catalog_name
string
required

Body

application/json

Set per-user token exchange and custom headers on an existing Iceberg REST catalog.

enabled
boolean
required

Enable per-user token exchange: the catalog is routed through Gravitino, which authenticates to the remote as the end user. False restores the direct path.

settings
TokenExchangeSettings · object | null

The catalog's exchange settings. Required to enable unless already stored; omit to keep the stored settings. Disabling keeps them, so turning it back on restores them.

custom_headers
Custom Headers · object | null

Replace the catalog's custom headers (name -> value). An empty object clears them; omit the field to leave them unchanged.

Response

Catalog updated.

success
boolean
required

Indicates whether the task completed successfully.