curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/designation/{designation_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"designation_id": 1,
"name": "Designation Name",
"donation_amounts": 100,
"emailset_id": 1,
"hysform": "001",
"info": "Designation Info",
"code": "D001"
}'
{
"message": "Successful"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Data needed to edit a designation
The body is of type object
.
Successful operation
The response is of type object
.
curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/designation/{designation_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"designation_id": 1,
"name": "Designation Name",
"donation_amounts": 100,
"emailset_id": 1,
"hysform": "001",
"info": "Designation Info",
"code": "D001"
}'
{
"message": "Successful"
}