UpdateUserLayout
UpdateUserLayout saves or modifies a specific UI layout configuration for the user.
/api.v1.user.UserService/UpdateUserLayout Bearer requiredRequest
UpdateUserLayoutRequest
UpdateUserLayoutRequestapi.v1.user.UpdateUserLayoutRequest2 fields
UpdateUserLayoutRequest specifies the layout to update and its new configuration.
typestringThe type identifier for the layout to be updated.
configstringThe new JSON-encoded configuration for the layout.
{
"type": "string",
"config": "string"
}Response
UpdateUserLayoutResponse
UpdateUserLayoutResponseapi.v1.user.UpdateUserLayoutResponse1 fields
UpdateUserLayoutResponse returns the updated layout object.
{
"data": {
"id": 1,
"createdAt": "2026-08-19T20:15:00Z",
"updatedAt": "2026-08-19T20:15:00Z",
"type": "string value",
"config": "string value"
}
}Referenced models
1 nested message types
UserLayoutapi.v1.user.UserLayout5 fields
UserLayout represents a saved configuration for the user interface.
iduint32Unique database identifier for the layout.
createdAtstringTimestamp when the layout was first saved.
updatedAtstringTimestamp when the layout was last updated.
typestringThe type of layout (e.g., "dashboard", "home").
configstringA JSON-encoded string containing the layout configuration details.
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.