Skip to main content
PUT
Set Shared Workflow Secret

Authorizations

X-API-Key
string
header
required

Path Parameters

name
string
required

Body

application/json
value
string
required

The secret, or the OAuth2 client secret. Write-only: required on every update, never returned.

Required string length: 1 - 8192
allowed_hosts
string[]
required

Host names the secret may be sent to, such as api.example.com. Requests elsewhere are refused.

Required array length: 1 - 20 elements
kind
enum<string>
default:value

value: sent as entered. oauth2_client_credentials: AGO exchanges it for an access token.

Available options:
value,
oauth2_client_credentials
token_url
string
default:""

OAuth2 token endpoint (https).

Maximum string length: 500
client_id
string
default:""

OAuth2 client ID.

Maximum string length: 500
scope
string
default:""

Optional OAuth2 scope.

Maximum string length: 500

Response

200

OK