@@ -140,18 +140,6 @@ curl -X POST http://localhost:5000/ \
140140 }'
141141```
142142
143- ### Logout
144-
145- ``` graphql
146- mutation {
147- logout (sessionToken : " your_session_token_here" )
148- }
149- ```
150-
151- This invalidates the specified session for the current user.
152-
153- ** Returns:** ` true ` if successful, ` false ` if not authenticated
154-
155143## Bot Management
156144### Creating Bots (Admin Only)
157145
@@ -180,16 +168,6 @@ mutation {
180168
181169Bots use API keys instead of session tokens. Include the API key in the ` Authorization ` header in the same format as before.
182170
183- ### Deleting Bots (Admin Only)
184-
185- ``` graphql
186- mutation {
187- deleteBot (apiKeyId : 1 )
188- }
189- ```
190-
191- ** Returns:** ` true ` if successful
192-
193171
194172## Permission Checking in Code
195173
@@ -246,17 +224,6 @@ The GitHub account is not part of the specified organization. Either:
246224
247225### GraphQL Mutations
248226
249- #### ` logout(sessionToken: String!): Boolean! `
250-
251- Invalidate the specified session for current user.
252-
253- ** Input:**
254- - ` sessionToken ` : The session token to invalidate
255-
256- ** Returns:** ` true ` if successful, ` false ` if not authenticated
257-
258- ---
259-
260227#### ` createBot(name: String!): String! ` 🔒 Admin only
261228
262229Create a new bot with API key.
@@ -266,17 +233,6 @@ Create a new bot with API key.
266233
267234** Returns:** The API key string (only shown once!)
268235
269- ---
270-
271- #### ` deleteBot(apiKeyId: Int!): Boolean! ` 🔒 Admin only
272-
273- Delete a bot and revoke its API key.
274-
275- ** Input:**
276- - ` apiKeyId ` : ID of the API key to delete
277-
278- ** Returns:** ` true ` if successful
279-
280236## Example
281237
282238### Complete Member Authentication Flow
0 commit comments