TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation User Groups Revoke a group join request

Revoke a group join request

On this page

GraphQL endpoint: /user

Revokes a pending join request that you sent to a group. Only the user who sent the request can revoke it, and the request must still be pending.

Query

mutation (
  $joinRequestId: ID!
) {
  revokeGroupUserMemberJoinRequest(
    joinRequestId: $joinRequestId
  ) {
    id
    status
    role
    insertedAt
    respondedAt
    updatedAt
    group {
      id
    }
    user {
      id
    }
  }
}

Variables

{
  "joinRequestId": "00000000-0000-4000-8000-000000000002"
}

Response

{
  "data": {
    "revokeGroupUserMemberJoinRequest": {
      "group": {
        "id": "00000000-0000-4000-8000-000000000001"
      },
      "id": "00000000-0000-4000-8000-000000000002",
      "insertedAt": "2026-01-15T09:00:00.000000",
      "respondedAt": "2026-01-15T09:00:01.000000",
      "role": "MEMBER",
      "status": "REVOKED",
      "updatedAt": "2026-01-15T09:00:02.000000",
      "user": {
        "id": "00000000-0000-4000-8000-000000000003"
      }
    }
  }
}