API Docs / Schemas / ApiKeyDto

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
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