Files

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