Skip to main content
POST
/
v0
/
organisation
/
{org_id}
/
keys
Create a new API key
curl --request POST \
  --url https://sis.sumvin.com/v0/organisation/{org_id}/keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "_links": {
    "self": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    },
    "organisation": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    }
  },
  "id": "<string>",
  "key": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

user-agent
string | null

Path Parameters

org_id
string
required

Body

application/json
name
string | null
Maximum string length: 255

Response

Successful Response

id
string
required
key
string
required

Plaintext API key, shown only on creation.