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

976 B

title
title
Anime Synonym Restore

Anime Synonym Restore Endpoint

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

For example, the /restore/animesynonym/1523 endpoint will restore the soft deleted Monstory synonym for the Bakemonogatari anime and return the restored anime synonym resource.

URL

PATCH /restore/animesynonym/{id}

Authentication

Required Permission: restore anime synonym

Roles with Permission: Content Moderator, Encoder, Admin

Other Requirements: Synonym must be soft deleted

Parameters

None

Response

{
    animesynonym: {
        id: id,
        text: "text",
        type: "type",
        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/animesynonym/1523