cURL
curl --request PUT \ --url https://grosh.muathye.com/api/contacts/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "phone": "<string>", "email": "[email protected]", "notes": "<string>" } '
{ "id": "<string>", "name": "<string>", "phone": "<string>", "email": "[email protected]", "notes": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "deleted_at": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
150
50
Successful response
Was this page helpful?