Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Data needed to edit a designation
Response
Successful operation
Example:
"Successful"
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
Successful operation
"Successful"
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"
}