Auth

Set Default Api Key

Changed on

Set an API key as the user's default. Clears any existing default.

Requires JWT Bearer authentication with the token received from the login endpoint.

put/api/v1/auth/keys/{key_id}/default

Request

  • The document declares no server URL.
  • Auth
    • OAuth 2
      Authorization codehttps://auth.mor.org/oauth2/authorize
      Token URLhttps://auth.mor.org/oauth2/token
      Scopesaws.cognito.signin.user.admin, openid, email, profile
    • or HTTP bearer

Path parameters

key_idinteger required

Response

Successful Response

idinteger required
key_prefixstring required
namestring
created_atstring date-time required
is_activeboolean required
is_defaultboolean
encrypted_keystring
encryption_versioninteger

Changes