DELETE families.children - ocariot/api-gateway GitHub Wiki
Description
Disassociate a child from a family by id.
Permissions:
- Only Admin user can do this.
Scope
families:delete
URL
DELETE https://localhost/v1/families/{family_id}/children/{child_id}
Parameters
family_id: string (A 24-byte hex ID)
child_id: string (A 24-byte hex ID)
Curl example
curl -X DELETE "https://localhost/v1/families/5db202c1bbaa611e0b1d5e53/children/5db1f8f0bbaa611e0b1d5e52" -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 -
404
Not Found Error