Skip to main content
POST
Create Credential

Authorizations

Authorization
string
header
required

OIDC access token for users and CLI clients.

Query Parameters

tenant_id
string | null
sub_tenant_id
string | null

Body

application/json
subject
CredentialSubject · object
required
scope
CredentialScope · object
required
id
string | null
tenantId
string | null
subTenantId
string | null
credentialType
string
default:api_key
status
enum<string>
default:active
Available options:
active,
revoked,
expired,
disabled,
archived
secretRef
string | null
expiresAtMs
integer | null
generateSecret
boolean
default:true
metadata
Metadata · object

Response

Successful Response

Last modified on July 29, 2026