Skip to main content
POST
Create a static API-token credential

Authorizations

Authorization
string
header
required

Pass an API key (marfa_k1_...) or OAuth access token (marfa_at_...)

Body

application/json
label
string
required
Required string length: 1 - 200
upstream_base_url
string<uri>
required
Maximum string length: 2048
api_token
string
required
Required string length: 1 - 4096
auth_scheme
enum<string>
Available options:
Bearer,
Token,
Basic

Response

Credential created. Returns the new credential's id for use as credential_ref on install.

credential_id
string
required