Mutation
mutation DeleteDispatcherProfile($id: ID!) {
deleteDispatcherProfile(id: $id) {
result {
id
active
insertedAt
organizationMembership {
id
user {
__typename
}
resolvedProfilePictureUrl
}
phoneNumber
}
errors {
message
code
fields
path
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"deleteDispatcherProfile": {
"result": {
"id": "id",
"active": true,
"insertedAt": "value",
"organizationMembership": {
"id": "id",
"user": {
"__typename": "User"
},
"resolvedProfilePictureUrl": "string"
},
"phoneNumber": "string"
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}Mutations
deleteDispatcherProfile
MUTATION
deleteDispatcherProfile(id: ID!): DeleteDispatcherProfileResult!Arguments
id
ID!
required
Returns
result
The record that was successfully deleted
errors
[MutationError!]!
Any errors generated, if the mutation failed
Mutation
mutation DeleteDispatcherProfile($id: ID!) {
deleteDispatcherProfile(id: $id) {
result {
id
active
insertedAt
organizationMembership {
id
user {
__typename
}
resolvedProfilePictureUrl
}
phoneNumber
}
errors {
message
code
fields
path
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"deleteDispatcherProfile": {
"result": {
"id": "id",
"active": true,
"insertedAt": "value",
"organizationMembership": {
"id": "id",
"user": {
"__typename": "User"
},
"resolvedProfilePictureUrl": "string"
},
"phoneNumber": "string"
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}