Files
animethemes-api-docs/docs/artist/destroy
paranarimasu 57dd7eecd7 fix: update links to production domain (#23)
* fix: update links to production domain

* add missing README change
2022-05-31 20:46:45 -05:00
..

title
title
Artist Destroy

Artist Destroy Endpoint

The artist destroy endpoint soft deletes an artist and returns the deleted artist resource.

For example, the /api/artist/chiwa_saito endpoint will soft delete the Chiwa Saito artist and return the deleted Chiwa Saito resource.

URL

DELETE /api/artist/{slug}

Authentication

Required Permission: delete artist

Roles with Permission: Wiki Editor, Admin

Parameters

None

Response

{
    artist: {
        id: id,
        name: "name",
        slug: "slug",
        created_at: "created_at",
        updated_at: "updated_at",
        deleted_at: "deleted_at"
    }
}
```bash curl -X DELETE -H "Authorization: Bearer {token}" https://api.animethemes.moe/artist/chiwa_saito ```