Files
animethemes-api-docs/docs/jsonapi/reference/content/artist/restore/index.md
T
2025-12-17 22:53:18 -03:00

935 B

title
title
Artist Restore

Artist Restore Endpoint

The artist restore endpoint restores a soft deleted artist and returns the restored artist resource.

For example, the /restore/artist/chiwa_saitou endpoint will restore the soft deleted Chiwa Saitou artist and return the restored Chiwa Saitou resource.

URL

PATCH /restore/artist/{slug}

Authentication

Required Permission: restore artist

Roles with Permission: Content Moderator, Encoder, Admin

Other Requirements: Artist must be soft deleted

Parameters

None

Response

{
    artist: {
        id: id,
        name: "name",
        slug: "slug",
        information: "information",
        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/artist/chiwa_saitou