The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Invites
3url: https://platform.claude.com/docs/en/api/beta/organization/invites
4---
5
16# Invites
27
38## Create Invite
from line 47
4247
4348- `BetaOrganizationInvite object`
4449
50 - `type: "invite"`
51
52 Object type.
53
54 For Invites, this is always `"invite"`.
55
56 default: invite
57
4558 - `id: string`
4659
4760 ID of the Invite.
from line 119
106119
107120 - `"pending"`
108121
109 - `type: "invite"`
110
111 Object type.
112
113 For Invites, this is always `"invite"`.
114
115 default: invite
116
117122### Example
118123
119124```bash
from line 200
195200
196201- `data: array of BetaOrganizationInvite`
197202
203 - `type: "invite"`
204
205 Object type.
206
207 For Invites, this is always `"invite"`.
208
209 default: invite
210
198211 - `id: string`
199212
200213 ID of the Invite.
from line 272
259272
260273 - `"pending"`
261274
262 - `type: "invite"`
263
264 Object type.
265
266 For Invites, this is always `"invite"`.
267
268 default: invite
269
270275- `first_id: string or null`
271276
272277 First ID in the `data` list. Can be used as the `before_id` for the previous page.
from line 333
328333
329334- `BetaOrganizationInvite object`
330335
336 - `type: "invite"`
337
338 Object type.
339
340 For Invites, this is always `"invite"`.
341
342 default: invite
343
331344 - `id: string`
332345
333346 ID of the Invite.
from line 405
392405
393406 - `"pending"`
394407
395 - `type: "invite"`
396
397 Object type.
398
399 For Invites, this is always `"invite"`.
400
401 default: invite
402
403408### Example
404409
405410```bash
from line 445
440445
441446### Returns
442447
443- `id: string`
444
445 ID of the Invite.
446
447448- `type: "invite_deleted"`
448449
449450 Deleted object type.
from line 453
452453
453454 default: invite_deleted
454455
456- `id: string`
457
458 ID of the Invite.
459
455460### Example
456461
457462```bash
from line 481
476481
477482- `BetaOrganizationInvite object`
478483
484 - `type: "invite"`
485
486 Object type.
487
488 For Invites, this is always `"invite"`.
489
490 default: invite
491
479492 - `id: string`
480493
481494 ID of the Invite.
from line 553
540553
541554 - `"pending"`
542555
543 - `type: "invite"`
544
545 Object type.
546
547 For Invites, this is always `"invite"`.
548
549 default: invite
550
551556### Invite Delete Response
552557
553558- `InviteDeleteResponse object`
554559
555 - `id: string`
556
557 ID of the Invite.
558
559560 - `type: "invite_deleted"`
560561
561562 Deleted object type.
from line 564
563564 For Invites, this is always `"invite_deleted"`.
564565
565566 default: invite_deleted
567
568 - `id: string`
569
570 ID of the Invite.
566571