PUT
/
admin
/
designation
/
{designation_id}
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

designation_id
integer
required

Body

application/json

Data needed to edit a designation

The body is of type object.

Response

200
application/json

Successful operation

The response is of type object.