FIREANIME API
Browse API97 operations
POST

UpdateUserLayout

UpdateUserLayout saves or modifies a specific UI layout configuration for the user.

/api.v1.user.UserService/UpdateUserLayout Bearer required
01

Request

UpdateUserLayoutRequest

UpdateUserLayoutRequestapi.v1.user.UpdateUserLayoutRequest2 fields

UpdateUserLayoutRequest specifies the layout to update and its new configuration.

type
string

The type identifier for the layout to be updated.

config
string

The new JSON-encoded configuration for the layout.

Request JSON
{
  "type": "string",
  "config": "string"
}
02

Response

UpdateUserLayoutResponse

UpdateUserLayoutResponseapi.v1.user.UpdateUserLayoutResponse1 fields

UpdateUserLayoutResponse returns the updated layout object.

data

The modified layout configuration.

Example response
{
  "data": {
    "id": 1,
    "createdAt": "2026-08-19T20:15:00Z",
    "updatedAt": "2026-08-19T20:15:00Z",
    "type": "string value",
    "config": "string value"
  }
}
03

Referenced models

1 nested message types

UserLayoutapi.v1.user.UserLayout5 fields

UserLayout represents a saved configuration for the user interface.

id
uint32

Unique database identifier for the layout.

createdAt
string

Timestamp when the layout was first saved.

updatedAt
string

Timestamp when the layout was last updated.

type
string

The type of layout (e.g., "dashboard", "home").

config
string

A JSON-encoded string containing the layout configuration details.

04

Error handling

Common failure codes

unauthenticatedThe Bearer token is missing or invalid.

invalid_argumentThe request payload failed validation.

internalThe service could not complete the operation.