ApiKeyService

CreateApiKey

Creates an API key.

post/api/v2/api-keys

Request

  • Base URL: https://api.siftstack.com
  • URL: https://api.siftstack.com/api/v2/api-keys
  • Auth: HTTP bearer

Request body

namestring required

The name for the new ApiKey. Required.

userIdstring required

The id of the user the new key will authenticate as. Must equal the id of the calling user; creating an API key on behalf of another user is no longer supported and the service will return INVALID_ARGUMENT if the values differ. The field is retained for backwards compatibility with existing clients and may be marked deprecated in a future revision.

Response

A successful response.

Changes

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