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

Bearer token api key.

token
string

The Bearer token that can be used to access other API endpoints.

permissions
string[]

A list of permissions that your api-key is granted. Any of these Permissions.

Allows reading of any data, except permissions.