Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

ApiKeyDto

Represents an API key for authentication

Properties

Name Type Description
keystring

The unique identifier for this API key (use this for authentication via x-api-key header)

The unique identifier for this API key (use this for authentication via x-api-key header)

namestring

The friendly name for this API key

The friendly name for this API key

isScopedboolean

Whether this key is scoped to a tenant + role. Unscoped keys fully impersonate their
owner in every tenant they belong to.

Whether this key is scoped to a tenant + role. Unscoped keys fully impersonate their
owner in every tenant they belong to.

tenantCodeAndNameDto
roleTypeenum

System Custom

System Custom

roleCodeAndNameDto
isSendBlockedboolean

Whether this key is refused on every endpoint that sends a message (email, SMS, WhatsApp)

Whether this key is refused on every endpoint that sends a message (email, SMS, WhatsApp)

createdDatestring

The date this API key was created

The date this API key was created

JSON Example

{
  "key": "00000000-0000-0000-0000-000000000000",
  "name": "string",
  "isScoped": false,
  "tenant": {
    "code": "string",
    "name": "string"
  },
  "roleType": "System"
}

Used By Operations