v106

OpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-03812347972.4 KB
oauth

connect OAuth using client credentials

post/w/{workspace}/oauth/connect_client_credentials/{client}

Path parameters

workspacestring required
clientstring required

OAuth client name

Request body

scopesstring[]
cc_client_idstring

OAuth client ID. Omit to use the credentials configured on the provider's instance OAuth entry.

cc_client_secretstring

OAuth client secret. Omit to use the credentials configured on the provider's instance OAuth entry.

cc_instancestring

Instance name for built-in providers whose client-credentials token URL is instance-templated; substituted into the fixed-host registry template server-side. The token URL is never caller-supplied.

cc_token_urlstring

Bring-your-own token endpoint override. Only honored together with cc_client_id/cc_client_secret and mutually exclusive with cc_instance; rejected on the shared-instance path.

Response

OAuth token response

access_tokenstring required
expires_ininteger
refresh_tokenstring
scopestring[]
grant_typestring