Skip to content
Start here

Basic Auth Credentials

List basic-auth credentials for an account
GET/accounts/{account_id}/cws/basic-auth-credentials
Get a basic-auth credential by ID
GET/accounts/{account_id}/cws/basic-auth-credentials/{credential_id}
Create a basic-auth credential
POST/accounts/{account_id}/cws/basic-auth-credentials
Delete a basic-auth credential
DELETE/accounts/{account_id}/cws/basic-auth-credentials/{credential_id}
ModelsExpand Collapse
BasicAuthCredential object { id, created_at, updated_at, username }
id: string

Server-assigned UUID

formatuuid
created_at: string
formatdate-time
updated_at: string
formatdate-time
username: string

Login presented by the client. Printable ASCII only, excluding space and colon (RFC 7617 forbids a colon in the user-id).

maxLength100
minLength1
BasicAuthCredentialDeleteResponse object { id }
id: string
formatuuid

Basic Auth CredentialsSecrets

List secrets for a basic-auth credential
GET/accounts/{account_id}/cws/basic-auth-credentials/{credential_id}/secrets
Get a basic-auth secret by ID
GET/accounts/{account_id}/cws/basic-auth-credentials/{credential_id}/secrets/{secret_id}
Add a secret to a basic-auth credential
POST/accounts/{account_id}/cws/basic-auth-credentials/{credential_id}/secrets
Delete a basic-auth secret
DELETE/accounts/{account_id}/cws/basic-auth-credentials/{credential_id}/secrets/{secret_id}
ModelsExpand Collapse
BasicAuthSecret object { id, created_at, expires_at }
id: string

Server-assigned UUID

formatuuid
created_at: string
formatdate-time
expires_at: optional string

Optional RFC 3339 expiration time. Omit for no expiration.

formatdate-time
SecretDeleteResponse object { id }
id: string
formatuuid