Leave a Community
This endpoint allows to leave a community.
Leave a Community
POST
https://api.whisk.com/community/v2/{community_id}/leave
You can use the following path parameter to leave a particular community:
Path Parameters
Name
Type
Description
community_id
string
The community identifier. For example, d25506c2690f4b81b2050b9b90bda3b7
.
Headers
Name
Type
Description
Authentication
string
User Access token containing community:write
scope to authorize the API usage. For more information, see Authentication.
{
"permissions": {
"role": "COMMUNITY_ROLE_INVALID",
"mode": "COMMUNITY_CONTRIBUTION_PERMISSION_MODE_INVALID",
"visibility": "COMMUNITY_VISIBILITY_INVALID"
}
}
Sample Request and Response
curl -X POST "https://api.whisk.com/community/v2/69129600a88f499795ec047c2b5f69c4/leave"
-H "Accept: application/json"
-H "Authorization: Bearer <YOUR-API-ACCESS-KEY>"
Last updated
Was this helpful?