api-keys

Create Org Key Route

post/api/v1/orgs/{org_id}/keys

Path parameters

org_idstring required

Headers

Authorizationstring nullable
X-Request-IDstring nullable

Request body

namestring required
expires_in_days30 | 60 | 90
scopesstring[]

Response

Successful Response

keystring required
key_idstring required
namestring nullable required
org_idstring uuid required
expires_atstring date-time nullable
scopesstring[]

Changes

Changed in 1 of the 6 revisions of this API.315

  • e63bfe8e38b4315See the full diff
    • the request property became required

      request-property-became-required

    • request property list-of-types was narrowed by removing types null from media type application/json

      request-property-list-of-types-narrowed

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

      request-property-min-length-increased

    • the request property's maxLength was set to 255

      request-property-max-length-set

    • added the new optional request property

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the required property to the response with the status

      response-required-property-added

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