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 |
|---|
| Studio Update |
Studio Update Endpoint
The studio update endpoint updates a studio and returns the updated studio resource.
For example, the /studio/shaft?name=Shaft endpoint will update the Shaft studio name attribute and return the updated Shaft resource.
URL
PUT|PATCH /studio/{slug}
Authentication
Required Permission: update studio
Roles with Permission: Wiki Editor, Admin
Parameters
| Name | Required | Rules |
|---|---|---|
| name | No | string, max:192 |
| slug | No | string, max:192, alpha_dash, unique |
Response
{
studio: {
id: id,
name: "name",
slug: "slug",
created_at: "created_at",
updated_at: "updated_at",
deleted_at: "deleted_at"
}
}