Create API key

Creates an API key and adds it to group IDs.

Securitybearer or cookie
Request
Request Body schema: application/json
label
required
string (Label) ^[a-z0-9_-]+$

A label.

groupIDs
Array of integers <int64>
Responses
200

OK

4XX

Client error.

5XX

Server error.

post/api_keys
Request samples
application/json
{
  • "label": "string",
  • "groupIDs": [
    ]
}
Response samples
application/json
{
  • "status": 0,
  • "message": "string",
  • "result": {
    }
}
Copyright © Curvegrid 2022. All right reserved.