DELETE educator children group by ID - ocariot/api-gateway GitHub Wiki
Description
Delete a children group data associated with an Educator.
Permissions:
- Only Educator users can remove their own group of children.
Scope
childrengroups:delete
URL
DELETE https://localhost/v1/educators/{educator_id}/children/groups/{group_id}
Parameters
educator_id: string (A 24-byte hex ID)
group_id: string (A 24-byte hex ID)
Curl example
curl -X DELETE "https://localhost/v1/educators/5a62be07de34500146d9c544/children/groups/5a62be07d6f33400146c9b61" -H "accept: /" -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response body
-
204
Operation performed successfully. There is no data to be returned. -
400
Validation errors -
403
Permission Error