Docs
GraphQL referenceMutations

Remove Organization Member

MUTATIONremoveOrganizationMember(userId: ID!): RemovedOrganizationMember!

Access: Requires the org:update_members permission.

Arguments

userId*ID!

Returns

  1. removeOrganizationMember
notified*Boolean!
userId*ID!
Example Request
mutation RemoveOrganizationMember($userId: ID!) {  removeOrganizationMember(userId: $userId) {    notified    userId  }}
Variables
{  "userId": "1"}
Example Response
{  "data": {    "removeOrganizationMember": {      "notified": true,      "userId": "1"    }  }}