upsertWorkCenter
Topics: Jobs
Create a work center, or fully overwrite an existing one when input.id matches one in the caller's tenant. Unlike updateWorkCenter this replaces every field, so omitted optional fields are cleared. Requires workCenter:write permission.
Returns
UpsertWorkCenterPayload!Arguments
Full work center state to write. Include id to overwrite an existing work center; omit it to create one.
Exact field SDL
"""
Create a work center, or fully overwrite an existing one when input.id matches one in the caller's tenant. Unlike updateWorkCenter this replaces every field, so omitted optional fields are cleared. Requires workCenter:write permission.
"""
upsertWorkCenter(
"""
Full work center state to write. Include id to overwrite an existing work center; omit it to create one.
"""
input: UpsertWorkCenterInput!
): UpsertWorkCenterPayload! @topic(names: ["jobs"])Declared on Mutation. Access is checked by the platform for each operation.