POST
/
namespace
/
{namespace}
/
bigPeer
/
{big_peer_name}
/
app
/
{app_name}
/
apiKey
curl --request POST \
  --url http://localhost:{port}/namespace/{namespace}/bigPeer/{big_peer_name}/app/{app_name}/apiKey \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "API key used for staging environment.",
  "expiresAt": "2100-04-13T12:00:00Z",
  "name": "<string>",
  "permissions": {
    "qlVersion": 0,
    "read": "<any>",
    "remoteQuery": false,
    "write": "<any>"
  }
}'
"<string>"

Body

application/json

Response

200
application/json

Plaintext API key.

The response is of type string.