Mutation
mutation OwnerUpdate($input: OwnerUpdateInput!) {
ownerUpdate(input: $input) {
errors {
code
message
}
}
}Variables
{
"input": {
"target": {}
}
}Response
{
"data": {
"ownerUpdate": {
"errors": [
{
"code": "RESOURCE_IN_USE",
"message": "string"
}
]
}
}
}Mutations
ownerUpdate
Update the owner of one or more sources or validators.
Requires SOURCES_WRITE to update a sources target, or VALIDATORS_WRITE to update a validators target. Holding one does not require the other.
MUTATION
ownerUpdate(input: OwnerUpdateInput!): OwnerUpdateResult!Arguments
input
required
Returns
errors
[ApiError!]!
Mutation
mutation OwnerUpdate($input: OwnerUpdateInput!) {
ownerUpdate(input: $input) {
errors {
code
message
}
}
}Variables
{
"input": {
"target": {}
}
}Response
{
"data": {
"ownerUpdate": {
"errors": [
{
"code": "RESOURCE_IN_USE",
"message": "string"
}
]
}
}
}