/person/set_info

Description

Set the name or tag of a person.

Parameter

Name Description
Required api_key Your registered API Key
api_secret Your registered API Secret
person_id or person_name The id or name of the target person
Optional name The new person name
tag The new tag

Return Values

Field Type Description
tag string Tag of the person
person_name string Name of the person
person_id string Id of the person

Parameter

https://apius.faceplusplus.com/v2/person/set_info?api_key=YOUR_API_KEY&tag=new_tag_for_Cage&person_name=NicolasCage&api_secret=YOUR_API_SECRET

JSON Response

{
    "person_id": "9eb44387923528f97f8545d8bef906db", 
    "tag": "new_tag_for_Cage", 
    "person_name": "NicolasCage"
}

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
1501 451 BAD_NAME
1502 452 BAD_TAG
1503 453 NAME_EXIST
Google+