@@ -64,12 +64,12 @@ Reduce purchased seat count by 1. Defaults to `false`.
6464
6565### Responses
6666
67- | Status | Description |
68- | ------ | ----------- |
69- | 204 | Member removed successfully (no body) |
70- | 400 | Validation error (see below) |
71- | 403 | You are not a member of this workspace |
72- | 404 | Workspace or member not found |
67+ | Status | Description |
68+ | ------ | -------------------------------------- |
69+ | 204 | Member removed successfully (no body) |
70+ | 400 | Validation error (see below) |
71+ | 403 | You are not a member of this workspace |
72+ | 404 | Workspace or member not found |
7373
7474** 400 Validation Errors:**
7575
@@ -128,20 +128,17 @@ print(response.status_code) # 204 on success
128128<template #javascript>
129129
130130``` javascript
131- const response = await fetch (
132- " https://api.plane.so/api/v1/workspaces/my-workspace/members/remove/" ,
133- {
134- method: " POST" ,
135- headers: {
136- " X-API-Key" : " your-api-key" ,
137- " Content-Type" : " application/json" ,
138- },
139- body: JSON .stringify ({
140- email: " jane@example.com" ,
141- remove_seat: true ,
142- }),
143- }
144- );
131+ const response = await fetch (" https://api.plane.so/api/v1/workspaces/my-workspace/members/remove/" , {
132+ method: " POST" ,
133+ headers: {
134+ " X-API-Key" : " your-api-key" ,
135+ " Content-Type" : " application/json" ,
136+ },
137+ body: JSON .stringify ({
138+ email: " jane@example.com" ,
139+ remove_seat: true ,
140+ }),
141+ });
145142console .log (response .status ); // 204 on success
146143```
147144
0 commit comments