mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
874 B
874 B
title
| title |
|---|
| Group Destroy |
Group Destroy Endpoint
The group destroy endpoint soft deletes a group and returns the deleted group resource.
For example, the /group/1 endpoint will soft delete the "staple stable" group and return the deleted "English Version" resource.
URL
DELETE /group/{id}
Authentication
Required Permission: delete group
Roles with Permission: Content Moderator, Encoder, Admin
Other Requirements: Group must not be soft deleted
Parameters
None
Response
{
group: {
id: id,
name: "name",
slug: "slug",
video_filename: "video_filename",
created_at: "created_at",
updated_at: "updated_at",
deleted_at: "deleted_at"
}
}
Example
curl -X DELETE -H "Authorization: Bearer {token}" https://api.animethemes.moe/group/1