revoke
revoke
Revokes a badge from a site (user or group).
Parameters
Name | Description |
blog_id required | The primary identifier for the user or group’s site. (Same as siteID) |
badge_id required | Unique ID for a particular badge. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcBadge?action=revoke&blog_id=146435721&badge_id=15085&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 |
{ "service":"svcBadge", "action":"revoke", "code":1, "message":"Badge Successfully Revoked", "item":false } |
Service Information
Service | svcBadge |
Method | revoke |
Type | REST |
Response Types | JSON, XML |