ExternalApiConnectorUpdate
All fields optional; only provided fields are updated. Cannot set openApiSpec here (use the import endpoint). Setting status to suspended is rejected (operator-only) and returns 401 Unauthorized even though the value is otherwise a valid enum member. Changing authType, or rewriting any oauth* credential field, invalidates the connector's cached OAuth2 access token.
Possible values: non-empty and <= 255 characters
Possible values: <= 2000 characters
Possible values: [api-key, api-key-query, bearer-token, oauth2-client-credentials, none]
Write-only. Omit to leave the stored credential untouched.
Possible values: <= 255 characters
Possible values: <= 50 characters
Possible values: <= 255 characters
Write-only. Omit to leave the stored secret untouched.
Possible values: <= 255 characters
oauthClientAuthMethod object
- OAuthClientAuthMethod
- null
How the connector authenticates to its OAuth2 token endpoint: basic sends credentials in an Authorization: Basic header, body sends client_id/client_secret in the form body.
Possible values: [basic, body]
defaultHeaders object
Possible values: [active, paused, suspended]
Possible values: >= 1000 and <= 120000
{
"name": "string",
"description": "string",
"baseUrl": "string",
"authType": "api-key",
"authCredential": "string",
"authParamName": "string",
"authScheme": "string",
"oauthTokenUrl": "string",
"oauthClientId": "string",
"oauthClientSecret": "string",
"oauthScope": "string",
"oauthClientAuthMethod": "basic",
"defaultHeaders": {},
"status": "active",
"isPublic": true,
"defaultTimeout": 0
}