Create a hosted tenant API key

post/tenant/api-keys

Request

  • Base URL: https://api.gravityads.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.gravityads.dev/tenant/api-keys
  • Auth: HTTP bearer

Request body

labelstring
ttl_daysinteger
scopesstring[]

Response

Tenant API key created

status'tenant_api_key_created' | 'tenant_api_key_create_unconfigured' | 'tenant_api_key_create_failed' | 'tenant_api_key_create_degraded' required
tenant_idstring required
key_idstring required
labelstring
key_fingerprintstring required
fingerprintstring
raw_keystring
scopesstring[]
expires_atstring
hosted_auth_contextobject
database_url_configuredboolean
raw_key_returned_oncetrue required
raw_secrets_returnedfalse required

Changes

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