mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-25 00:14:00 +02:00
871 B
871 B
title
| title |
|---|
| Studio Restore |
Studio Restore Endpoint
The studio restore endpoint restores a soft deleted studio and returns the restored studio resource.
For example, the /restore/studio/shaft endpoint will restore the soft deleted Shaft studio and return the restored Shaft resource.
URL
PATCH /restore/studio/{slug}
Authentication
Required Permission: restore studio
Roles with Permission: Content Moderator, Encoder, Admin
Other Requirements: Studio must be soft deleted
Parameters
None
Response
{
studio: {
id: id,
name: "name",
slug: "slug",
created_at: "created_at",
updated_at: "updated_at",
deleted_at: "deleted_at"
}
}
Example
curl -X PATCH -H "Authorization: Bearer {token}" https://api.animethemes.moe/restore/studio/shaft