Remove Student from Course Package
Endpoint used to remove a user from a specific course package in Toolzz LMS.
Request Example
Section titled “Request Example”curl --request DELETE \ --url 'https://kong.api.toolzz.com.br/api/plans/{plan_uuid}' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "email": "student@example.com" }'Response Example
Section titled “Response Example”{ "success": true, "message": "Student removed from package successfully"}Request description
Section titled “Request description”Access Token
Section titled “Access Token”| Parameter | Type | Description | Required |
|---|---|---|---|
Authorization | String | Access token (“Bearer” must be before the token) | Yes |
URL Parameters (Path)
Section titled “URL Parameters (Path)”| Parameter | Type | Description | Required |
|---|---|---|---|
plan_uuid | string | Identifier of the target package. | Yes |
Body Parameters
Section titled “Body Parameters”| Parameter | Type | Description | Required |
|---|---|---|---|
email | string | Email of the student to be removed. | Yes |
Security
Section titled “Security”To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request. Additionally, the API is protected by other security measures to safeguard user data.