Plans

Assign a plan to users. Response is an array of courses ids created for each assigned user.

post/public/api/plans/{id}/assign

Request

  • Base URL
    https://<base_url>
  • Auth
    HTTP bearer

Headers

Acceptstring

e.g. application/json

Request body

user_idsstring[]

Example request

{
  "user_ids": [
    "5b2cfca28baa250037a013c7",
    "5b2cfb831b22f1003785009c"
  ]
}

Response

OK

string[] required

Example response

[
  "5e4514ac98ab7400553bf15f",
  "5e4514ac98ab7400553bf160"
]

Changes