changeOwner
Allows changing the owner of a document. Note: a user must be able to change document owner
Example usage:
mutation changeOwner {
changeOwner(documentId: "Document DXepXXXXJyUh", newOwnerId: "9F6CeVvvAxpBRw") {
errors {
__typename
}
document {
id
}
}
}
Input fields
documentId (
ID!
)
Document id
newOwnerId (
ID!
)
New owner id
suppressNotifications (
Boolean
)
Determines if email notifications will be sent on action
Return fields
errors (
[AnyMutationError]
)
Mutation errors. Provides information about missing content or privilages
document (
Document
)