mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
1.0 KiB
1.0 KiB
title
| title |
|---|
| Artist Member Update |
Artist Member Update Endpoint
The artist member update endpoint updates an artist member and returns the updated artist member resource.
For example, the /artistmember/ms/pile?as=updated+label endpoint will update the association between the μ's group and the Pile member.
URL
PUT|PATCH /artistmember/{artist:slug}/{artist:slug}
Authentication
Required Permission: update artist
Roles with Permission: Content Moderator, Encoder, Admin
Parameters
| Name | Required | Rules |
|---|---|---|
| alias | No | string, max:192 |
| as | No | string, max:192 |
| notes | No | string, max:192 |
Response
{
artistmember: {
created_at: "created_at",
updated_at: "updated_at",
alias: "alias",
as: "as",
notes: "notes"
}
}
Example
curl -X PATCH -H "Authorization: Bearer {token}" https://api.animethemes.moe/artistmember/