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
designation_id
integer
Example:

1

name
string
Example:

"Designation Name"

donation_amounts
number
Example:

100

emailset_id
integer
Example:

1

hysform
string
Example:

"001"

info
string
Example:

"Designation Info"

code
string
Example:

"D001"

Response

200
application/json
Successful operation
message
string
Example:

"Successful"