Goldmine
Accounts

Create A P I Key

POST
/accounts.v1.Accounts/CreateAPIKey

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://loading/accounts.v1.Accounts/CreateAPIKey" \  -H "Content-Type: application/json" \  -d '{}'
{
  "apiKey": {
    "createdAt": "2019-08-24T14:15:22Z",
    "expiresAt": "2019-08-24T14:15:22Z",
    "id": "string",
    "keyPrefix": "string",
    "lastUsedAt": "2019-08-24T14:15:22Z",
    "name": "string",
    "policies": [
      "string"
    ],
    "workspaceId": "string"
  },
  "rawKey": "string"
}
Empty