Delete A Group
Delete a group for a family.
- The contextual family is the authorised user's family
- Groups can only be deleted if a family owns them
- If it does not exist a 404 is returned
- If it exists but is owned by another family, a 404 is returned
- Groups are hard-deleted (once deleted, cannot be recovered)
- Deleting a group does not remove content from the family library. Only the group and content references are removed.
Required Scope
family:library:manage
Responses
idstring
{
"id": "jBakRtwbXA15ABQjVnBxo"
}errorobject
codestring
messagestring
{
"error": {
"code": "not-found",
"message": "Group 'something-family-does-not-own' not found for family"
}
}Path Parameters
groupIdstringRequired
DELETE
/card/family/library/groups/{groupId}Server URL: https://api.yotoplay.com
curl "https://api.yotoplay.com/card/family/library/groups/{groupId}"