user-settings

Create My Api Key

Create a new personal API key. The full key is returned only once.

post/api/me/api-keys

Request body

namestring required
scopesstring nullable
expires_atstring date-time nullable

Response

Successful Response

idstring required
namestring required
keystring required
key_prefixstring required
scopesstring nullable
expires_atstring date-time nullable
created_atstring required

Changes

Changed in 1 of the 11 revisions of this API.6114

  • 6dc2d6f33d446114See the full diff
    • the request property expires_at became not nullable

      request-property-became-not-nullable

    • the request property scopes became not nullable

      request-property-became-not-nullable

    • the name request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • response property expires_at list-of-types was widened by adding types null to media type application/json of response 201

      response-property-list-of-types-widened

    • response property scopes list-of-types was widened by adding types null to media type application/json of response 201

      response-property-list-of-types-widened

    • the created_at response's property type/format changed from string/date-time to string/ for status 201

      response-property-type-changed

    • the name request property's maxLength was set to 100

      request-property-max-length-set

    • api operation id create_my_api_key_api_me_api_keys_post was added

      api-operation-id-added

    • the endpoint scheme security HTTPBearer was added to the API

      api-security-added

    • api tag user-settings added

      api-tag-added

    • api tag API Keys removed

      api-tag-removed

    • request property expires_at list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    • request property scopes list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    • added the non-success response with the status 422

      response-non-success-status-added

    • removed the non-success response with the status 400

      response-non-success-status-removed

    • removed the non-success response with the status 401

      response-non-success-status-removed

    • the response property created_at became required for the status 201

      response-property-became-required

    • the response property id became required for the status 201

      response-property-became-required

    • the response property key became required for the status 201

      response-property-became-required

    • the response property key_prefix became required for the status 201

      response-property-became-required

    • the response property name became required for the status 201

      response-property-became-required

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog