POST
/
keys
cURL
curl --request POST \
  --url https://membership.sjaa.net/api/keys \
  --header 'Authorization: Basic <encoded-value>'
{
  "token": "<string>",
  "permissions": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

200
application/json

Bearer token api key.

The response is of type object.