Update a List.
curl -i -X PUT -H "Content-Type: application/json" -d '{"list":{"name":"Work", "person_ids":["12ab8e008f0d0c8a090f9c0b"]}}' https://api.passdock.com/api/v1/lists/511e5ce039078c08d8000035?api_token=75778a65dfdae310a107d2ef0bbd3780
Param name | Description |
---|---|
api_token required |
Your Passdock API key Value: Must be String |
id required |
List ID Value: Must be Fixnum |
list required |
Object that contains List's informations Value: Must be a Hash |
list[name] optional |
List's name Value: Must be String |
list[list_ids] optional |
IDs of people that belongs to list Value: Must be Array |