Creates an API key. You can optionally specify a unique Id for the key, if not provided one will be generated. an API key can only be created with equal or lesser authority. An API key cannot create another API key unless it is granted to that API key. If an API key is locked to a tenant, it can only create API Keys for that same tenant.

post/api/api-key/{keyId}

Request

  • Base URL: http://localhost:9011
  • URL: http://localhost:9011/api/api-key/{keyId}
  • Auth: API key in header Authorization

Path parameters

keyIdstring required

The unique Id of the API key. If not provided a secure random Id will be generated.

Request body

sourceKeyIdstring uuid

Response

Success

Changes

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