|
14 | 14 | "url": "http://www.apache.org/licenses/LICENSE-2.0" |
15 | 15 | }, |
16 | 16 | "version": "2025.0", |
17 | | - "x-box-commit-hash": "04730436d5" |
| 17 | + "x-box-commit-hash": "e231c9d1b8" |
18 | 18 | }, |
19 | 19 | "servers": [ |
20 | 20 | { |
|
2479 | 2479 | "Archives" |
2480 | 2480 | ] |
2481 | 2481 | } |
| 2482 | + }, |
| 2483 | + "/external_users/submit_delete_job": { |
| 2484 | + "post": { |
| 2485 | + "operationId": "post_external_users_submit_delete_job_v2025.0", |
| 2486 | + "summary": "Submit job to delete external users", |
| 2487 | + "description": "Delete external users from current user enterprise. This will remove each\nexternal user from all invited collaborations within the current enterprise.", |
| 2488 | + "parameters": [ |
| 2489 | + { |
| 2490 | + "$ref": "#/components/parameters/BoxVersionHeader" |
| 2491 | + } |
| 2492 | + ], |
| 2493 | + "requestBody": { |
| 2494 | + "required": true, |
| 2495 | + "content": { |
| 2496 | + "application/json": { |
| 2497 | + "schema": { |
| 2498 | + "$ref": "#/components/schemas/ExternalUsersSubmitDeleteJobRequest" |
| 2499 | + } |
| 2500 | + } |
| 2501 | + } |
| 2502 | + }, |
| 2503 | + "responses": { |
| 2504 | + "207": { |
| 2505 | + "description": "Multi-status response containing the result for each external user deletion request.", |
| 2506 | + "content": { |
| 2507 | + "application/json": { |
| 2508 | + "schema": { |
| 2509 | + "$ref": "#/components/schemas/ExternalUsersSubmitDeleteJobResponse" |
| 2510 | + } |
| 2511 | + } |
| 2512 | + } |
| 2513 | + }, |
| 2514 | + "404": { |
| 2515 | + "description": "Returns an error if the listed external users are not found, or the authenticated\nuser does not have the right permissions to delete external users.", |
| 2516 | + "content": { |
| 2517 | + "application/json": { |
| 2518 | + "schema": { |
| 2519 | + "$ref": "#/components/schemas/ClientError" |
| 2520 | + } |
| 2521 | + } |
| 2522 | + } |
| 2523 | + }, |
| 2524 | + "default": { |
| 2525 | + "description": "An unexpected client error.", |
| 2526 | + "content": { |
| 2527 | + "application/json": { |
| 2528 | + "schema": { |
| 2529 | + "$ref": "#/components/schemas/ClientError" |
| 2530 | + } |
| 2531 | + } |
| 2532 | + } |
| 2533 | + } |
| 2534 | + }, |
| 2535 | + "x-box-tag": "external_users", |
| 2536 | + "tags": [ |
| 2537 | + "External Users" |
| 2538 | + ] |
| 2539 | + } |
2482 | 2540 | } |
2483 | 2541 | }, |
2484 | 2542 | "components": { |
|
3356 | 3414 | }, |
3357 | 3415 | "title": "Enterprise reference" |
3358 | 3416 | }, |
| 3417 | + "ExternalUserDeletionResult": { |
| 3418 | + "description": "Result of a single external user deletion request.", |
| 3419 | + "type": "object", |
| 3420 | + "properties": { |
| 3421 | + "user_id": { |
| 3422 | + "description": "The ID of the external user.", |
| 3423 | + "type": "string", |
| 3424 | + "example": "12345" |
| 3425 | + }, |
| 3426 | + "status": { |
| 3427 | + "description": "HTTP status code for a specific user's deletion request.", |
| 3428 | + "type": "integer", |
| 3429 | + "example": 202 |
| 3430 | + }, |
| 3431 | + "detail": { |
| 3432 | + "description": "Deletion request status details.", |
| 3433 | + "type": "string", |
| 3434 | + "example": "Successfully submitted for deletion" |
| 3435 | + } |
| 3436 | + }, |
| 3437 | + "required": [ |
| 3438 | + "user_id", |
| 3439 | + "status" |
| 3440 | + ], |
| 3441 | + "title": "External User Deletion Result" |
| 3442 | + }, |
| 3443 | + "ExternalUsersSubmitDeleteJobRequest": { |
| 3444 | + "description": "Request to submit a job to delete external users from the current enterprise.", |
| 3445 | + "type": "object", |
| 3446 | + "properties": { |
| 3447 | + "external_users": { |
| 3448 | + "description": "List of external users to delete.", |
| 3449 | + "type": "array", |
| 3450 | + "items": { |
| 3451 | + "$ref": "#/components/schemas/UserReference" |
| 3452 | + } |
| 3453 | + } |
| 3454 | + }, |
| 3455 | + "required": [ |
| 3456 | + "external_users" |
| 3457 | + ], |
| 3458 | + "title": "External Users Submit Delete Job Request" |
| 3459 | + }, |
| 3460 | + "ExternalUsersSubmitDeleteJobResponse": { |
| 3461 | + "description": "Multi-status response containing the result for each external user deletion request.", |
| 3462 | + "type": "object", |
| 3463 | + "properties": { |
| 3464 | + "entries": { |
| 3465 | + "description": "Array of results of each external user deletion request.", |
| 3466 | + "type": "array", |
| 3467 | + "items": { |
| 3468 | + "$ref": "#/components/schemas/ExternalUserDeletionResult" |
| 3469 | + } |
| 3470 | + } |
| 3471 | + }, |
| 3472 | + "required": [ |
| 3473 | + "entries" |
| 3474 | + ], |
| 3475 | + "title": "External Users Submit Delete Job Response", |
| 3476 | + "x-box-resource-id": "external_users_submit_delete_job_response_v2025.0", |
| 3477 | + "x-box-tag": "external_users" |
| 3478 | + }, |
3359 | 3479 | "FileReference": { |
3360 | 3480 | "description": "File reference.", |
3361 | 3481 | "type": "object", |
|
4436 | 4556 | ] |
4437 | 4557 | }, |
4438 | 4558 | "ip_addresses": { |
4439 | | - "description": "List of ips and cidrs.", |
| 4559 | + "description": "List of ip addresses and CIDRs.", |
4440 | 4560 | "type": "array", |
4441 | 4561 | "items": { |
4442 | 4562 | "type": "string" |
|
4636 | 4756 | ], |
4637 | 4757 | "title": "User (Mini)" |
4638 | 4758 | }, |
| 4759 | + "UserReference": { |
| 4760 | + "description": "User reference.", |
| 4761 | + "type": "object", |
| 4762 | + "properties": { |
| 4763 | + "type": { |
| 4764 | + "description": "The value is always `user`.", |
| 4765 | + "type": "string", |
| 4766 | + "example": "user", |
| 4767 | + "enum": [ |
| 4768 | + "user" |
| 4769 | + ] |
| 4770 | + }, |
| 4771 | + "id": { |
| 4772 | + "description": "The unique identifier for the user.", |
| 4773 | + "type": "string", |
| 4774 | + "example": "12345" |
| 4775 | + } |
| 4776 | + }, |
| 4777 | + "required": [ |
| 4778 | + "type", |
| 4779 | + "id" |
| 4780 | + ], |
| 4781 | + "title": "User reference" |
| 4782 | + }, |
4639 | 4783 | "WeblinkReference": { |
4640 | | - "description": "Weblink reference.", |
| 4784 | + "description": "Web link reference.", |
4641 | 4785 | "type": "object", |
4642 | 4786 | "properties": { |
4643 | 4787 | "type": { |
|
4650 | 4794 | "nullable": false |
4651 | 4795 | }, |
4652 | 4796 | "id": { |
4653 | | - "description": "ID of the weblink.", |
| 4797 | + "description": "ID of the web link.", |
4654 | 4798 | "type": "string", |
4655 | 4799 | "example": "42037322", |
4656 | 4800 | "nullable": false |
|
4660 | 4804 | "type", |
4661 | 4805 | "id" |
4662 | 4806 | ], |
4663 | | - "title": "Weblink reference" |
| 4807 | + "title": "Web link reference" |
4664 | 4808 | } |
4665 | 4809 | }, |
4666 | 4810 | "securitySchemes": { |
|
4707 | 4851 | "description": "Doc Gen templates are used as input to generate documents.", |
4708 | 4852 | "x-box-tag": "docgen_template" |
4709 | 4853 | }, |
| 4854 | + { |
| 4855 | + "name": "External Users", |
| 4856 | + "description": "External users are collaborators from outside of your enterprise.", |
| 4857 | + "x-box-tag": "external_users" |
| 4858 | + }, |
4710 | 4859 | { |
4711 | 4860 | "name": "Hubs", |
4712 | 4861 | "description": "A set of endpoints used to manage Hubs.", |
|
4724 | 4873 | }, |
4725 | 4874 | { |
4726 | 4875 | "name": "Shield lists", |
4727 | | - "description": "Shield List allow an administrator to create a list \nwhich will be shared between different\nShield Smart Access and Threat Prection rules.", |
| 4876 | + "description": "Shield List allow an administrator to create a list\nwhich will be shared between different\nShield Smart Access and Threat Detection rules.", |
4728 | 4877 | "x-box-tag": "shield_lists" |
4729 | 4878 | } |
4730 | 4879 | ], |
|
0 commit comments