
delete
/v4/campaigns/{id}/access/revoke
Revoke access to a private campaign for a specific address.
Request body
userAddressstringrequired
Ethereum address to grant/revoke access
canManageAccessbooleandefault: falseWhether the user can manage (grant/revoke) access for others
truefalseResponses
200Response for status 200
Schema
object
successbooleanrequired
messagestringrequired
Example
{
"success": false,
"message": "string"
}delete
https://api.merkl.xyz/v4/campaigns/{id}/access/revokecurl -X DELETE "https://api.merkl.xyz/v4/campaigns/{id}/access/revoke" \
-H "Content-Type: application/json" \
-d '{ "userAddress": "0xd93814273b33DD33B32cD345225CfB65DEB048Dd", "canManageAccess": false }'Live request: this will call https://api.merkl.xyz/ for real.