Handles the submission of edited data for multiple 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"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Data required for editing multiple entities
The body is of type object
.
Entities edited successfully
The response is of type object
.
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"
}