Skip to main content

DeleteRolePayload

The output of our delete Role mutation.

type DeleteRolePayload {
clientMutationId: String
role: Role
deletedRoleNodeId: ID
query: Query
roleEdge(
orderBy: [RolesOrderBy!] = [PRIMARY_KEY_ASC]
): RolesEdge
}

Fields

DeleteRolePayload.clientMutationId ● String scalar

The exact same clientMutationId that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations.

DeleteRolePayload.role ● Role object

The Role that was deleted by this mutation.

DeleteRolePayload.deletedRoleNodeId ● ID scalar

DeleteRolePayload.query ● Query object

Our root query field type. Allows us to run any query from our mutation payload.

DeleteRolePayload.roleEdge ● RolesEdge object

An edge for our Role. May be used by Relay 1.

DeleteRolePayload.roleEdge.orderBy ● [RolesOrderBy!] list enum

The method to use when ordering Role.

Returned By

deleteRole mutation ● deleteRoleByNodeId mutation