Update a desired Person.

Examples

curl -i -X PUT -H "Content-Type: application/json" -d '{"person":{"name":"Jeff","surname":"Star"}}' https://api.passdock.com/api/v1/people/511e5ce039078c08d8000035?api_token=75778a65dfdae310a107d2ef0bbd3780

Supported Formats

json

Success Response:

200 Good Request
              
          
OR 200 Updated with Debug Enabled
              
          

Errors

400 Bad Request
401 Unauthorized

Params

Param name Description
api_token
required

Your Passdock API key


Value: Must be String
id
required

Person ID


Value: Must be Fixnum
person
required

Object that contains Person's informations


Value: Must be a Hash
person[name]
optional

Person's name


Value: Must be String
person[surname]
optional

Person's surname


Value: Must be String
person[remote_thumbnail_url]
optional

Remote image address for a person


Value: Must be String
person[list_ids]
optional

Lists the person belongs to


Value: Must be Array
person[FIELD]
optional

Other fields specified for the person


Value: Must be String