POST
/
admin
/
program
/
sub_program
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"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Data to create a sub program

The body is of type object.

Response

200
application/json

Successfully created sub program

The response is of type object.