PATCH
/
admin
/
program
/
entities
curl --request PATCH \
  --url https://api.helpyousponsor.com/v1/admin/program/entities \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "entity_ids": [
    "1,2"
  ],
  "values": {
    "sp_amount": "40"
  }
}'
{
  "message": "Profile saved"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
Data required for editing multiple entities
entity_ids
integer[]
required
values
object

Response

200
application/json
Entities edited successfully
message
string
Example:

"Profile saved"