Create a scoped API key

post/api/v1/api-keys

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/api-keys
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Request body

namestring required
scopesstring[] required
expires_atstring

Optional expiry: a date (YYYY-MM-DD, the key works until the end of that day in the business time zone) or a date and time with offset, within three years

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.