Mutation / jobs
deleteShiftDefinition
Delete a shift definition from the caller's tenant. Deleting one that does not exist is reported as success: false with an "id" error, not as a GraphQL error. Requires shiftDefinition:delete permission.
Arguments
TypeID (prefix "shd") of the shift definition to delete.
Returns DeleteShiftDefinitionPayload!
Explore in a view
View exact SDL
"""
Delete a shift definition from the caller's tenant. Deleting one that does not exist is reported as success: false with an "id" error, not as a GraphQL error. Requires shiftDefinition:delete permission.
"""
deleteShiftDefinition(
"""TypeID (prefix "shd") of the shift definition to delete."""
id: ShiftDefinitionID!
): DeleteShiftDefinitionPayload! @topic(names: ["jobs"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.