dns-credentials

Create Dns Credential

Create a new DNS credential.

Credentials are stored securely in OpenBao, not in our database. After creation, credentials should be validated using the validate endpoint.

post/api/v1/dns-credentials

Request

  • Base URL: https://api.mengi.cloud (the document declares no server; this is the origin it was published from)
  • URL: https://api.mengi.cloud/api/v1/dns-credentials
  • Auth: none declared

Request body

namestring required

User-friendly name

providerstring required

DNS provider: one of bunny, cloudflare, digitalocean, route53

credentialsobject

Provider-specific credential fields

api_keystring nullable

Deprecated: use credentials.api_key

managed_domainstring nullable

DNS zone this credential manages (e.g. example.com)

organization_idstring uuid nullable

Active org; defaults to the user's personal org

Response

Successful Response

idstring uuid required
namestring required
organization_idstring uuid nullable
providerstring required
managed_domainstring nullable
is_validboolean required
validation_errorstring nullable
last_validated_atstring date-time nullable
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.