/group/remove_person

Description

Remove persons from a group.

Parameter

Name Description
Required api_key Your registered API Key
api_secret Your registered API Secret
group_id or group_name The id or name of the group
person_id or person_name A comma-separated list of person ids or names, specifying the persons to be removed from the group. User can also specify person_id=all, which means to remove all persons from this group.

Return Values

Field Type Description
removed int Number of removed person
success bool Always be "true"

Parameter

https://apius.faceplusplus.com/v2/group/remove_person?api_secret=YOUR_API_SECRET&api_key=YOUR_API_KEY&person_name=Bob,Alice&group_name=Family

JSON Response

{
	"removed": 2, 
	"success": true
}

Error Code List

Error Code HTTP Status Code Error Message
1001 500 INTERNAL_ERROR
1003 403 AUTHORIZATION_ERROR
1003 403 INSUFFICIENT_PRIVILEGE_OR_QUOTA_LIMIT_EXCEEDED
1004 400 MISSING_ARGUMENTS
1005 400 INVALID_ARGUMENTS
1006 403 ILLEGAL_USE_OF_DEMO_KEY
1202 502 SERVER_TOO_BUSY
Google+