curl -i -X POST \
https://www.rebilly.com/_mock/catalog/all/api-keys \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"description": "string",
"type": "secret",
"acl": [
{
"scope": {
"organizationId": [
"organizationId-id-1"
]
},
"permissions": [
"PostFile",
"StorefrontGetAccount",
"StorefrontGetWebsite",
"StorefrontGetKycDocumentCollection",
"StorefrontGetKycDocument",
"StorefrontPostKycDocument"
]
}
],
"allowedIps": [
"153.12.32.33",
"201.54.122.0/24",
"76.*.*.*",
"2001:0db8:abcd:0012:0000:0000:0000:ffff",
"2001:db8:abcd:12::0/64"
]
}'