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