Magidoc

updateNewsCategory
Mutation

Updates a news category's name and color.

Access: Requires user access to the workspace.

Arguments

#

categoryId

ID !
Non-null

ID of the category to update

name

Non-null

New display name (unique per workspace)

color

Non-null

New hex color

workspaceId

Workspace context. Required when categoryId refers to a legacy default (pre-migration).

Response

#

Returns NewsCategory !.

Example

#