curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/program/sub_program \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"link_id": 123,
"client_id": "<string>",
"user_id": 123
}'
{
"message": "Successfully created sub program"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Data to create a sub program
The body is of type object
.
Successfully created sub program
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/program/sub_program \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"link_id": 123,
"client_id": "<string>",
"user_id": 123
}'
{
"message": "Successfully created sub program"
}