Authorizations
Bearer token with Platform JWT token or API Key.
Path Parameters
Body
application/json
Response
OK.
curl --request POST \
  --url https://api.revong.com/api/v1/accounts/{userId}/keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "restricted": true,
  "whitelist": [
    {
      "name": "<string>",
      "type": "<string>",
      "value": "<string>"
    }
  ],
  "expireAt": "2023-11-07T05:31:56Z"
}'ROLES: USER_ADMIN USER: true SERVICE ACCOUNT: true
curl --request POST \
  --url https://api.revong.com/api/v1/accounts/{userId}/keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "restricted": true,
  "whitelist": [
    {
      "name": "<string>",
      "type": "<string>",
      "value": "<string>"
    }
  ],
  "expireAt": "2023-11-07T05:31:56Z"
}'Bearer token with Platform JWT token or API Key.
OK.