You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*CollaborationApi* | [**invite_project_user**](docs/CollaborationApi.md#invite_project_user) | **POST** /cloud/{cloud_pk}/project/{project_pk}/invitation | Invite a project member
249
+
*CollaborationApi* | [**leave_project**](docs/CollaborationApi.md#leave_project) | **POST** /cloud/{cloud_pk}/project/{id}/leave | Leave the project
249
250
*CollaborationApi* | [**update_classification**](docs/CollaborationApi.md#update_classification) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/classification/{id} | Update some fields of a classification
250
251
*CollaborationApi* | [**update_cloud**](docs/CollaborationApi.md#update_cloud) | **PATCH** /cloud/{id} | Update some fields of a cloud
251
252
*CollaborationApi* | [**update_cloud_user**](docs/CollaborationApi.md#update_cloud_user) | **PATCH** /cloud/{cloud_pk}/user/{id} | Update some fields of a cloud user
Copy file name to clipboardExpand all lines: docs/BcfApi.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6456,7 +6456,7 @@ void (empty response body)
6456
6456
### HTTP response details
6457
6457
| Status code | Description | Response headers |
6458
6458
|-------------|-------------|------------------|
6459
-
**204** | | - |
6459
+
**204** | No content | - |
6460
6460
**400** | A required field is missing in the body | - |
6461
6461
**401** | The authentication failed. Your token may be expired, missing or malformed | - |
6462
6462
**403** | You don't have the authorization to access this resource. Check if the resource is exclusive to users or app (eg: /user is exclusive to users) or if your user has the right to access this resource. | - |
[**get_self_user**](CollaborationApi.md#get_self_user) | **GET** /user | Get info about the current user
67
67
[**invite_cloud_user**](CollaborationApi.md#invite_cloud_user) | **POST** /cloud/{cloud_pk}/invitation | Invite a cloud administrator
68
68
[**invite_project_user**](CollaborationApi.md#invite_project_user) | **POST** /cloud/{cloud_pk}/project/{project_pk}/invitation | Invite a project member
69
+
[**leave_project**](CollaborationApi.md#leave_project) | **POST** /cloud/{cloud_pk}/project/{id}/leave | Leave the project
69
70
[**update_classification**](CollaborationApi.md#update_classification) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/classification/{id} | Update some fields of a classification
70
71
[**update_cloud**](CollaborationApi.md#update_cloud) | **PATCH** /cloud/{id} | Update some fields of a cloud
71
72
[**update_cloud_user**](CollaborationApi.md#update_cloud_user) | **PATCH** /cloud/{cloud_pk}/user/{id} | Update some fields of a cloud user
@@ -12989,6 +12990,209 @@ Name | Type | Description | Notes
12989
12990
12990
12991
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
12991
12992
12993
+
# **leave_project**
12994
+
> leave_project(cloud_pk, id)
12995
+
12996
+
Leave the project
12997
+
12998
+
Leave the project. Only authenticated users (no app) can call this route. Required scopes: org:manage
12999
+
13000
+
### Example
13001
+
13002
+
* Api Key Authentication (Bearer):
13003
+
```python
13004
+
from __future__ import print_function
13005
+
import time
13006
+
import bimdata_api_client
13007
+
from bimdata_api_client.rest import ApiException
13008
+
from pprint import pprint
13009
+
# Defining the host is optional and defaults to https://api.bimdata.io
13010
+
# See configuration.py for a list of all supported configuration parameters.
13011
+
configuration = bimdata_api_client.Configuration(
13012
+
host = "https://api.bimdata.io"
13013
+
)
13014
+
13015
+
# The client must configure the authentication and authorization parameters
13016
+
# in accordance with the API server security policy.
13017
+
# Examples for each auth method are provided below, use the example that
13018
+
# satisfies your auth use case.
13019
+
13020
+
# Configure API key authorization: Bearer
13021
+
configuration = bimdata_api_client.Configuration(
13022
+
host = "https://api.bimdata.io",
13023
+
api_key = {
13024
+
'Authorization': 'YOUR_API_KEY'
13025
+
}
13026
+
)
13027
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
**400** | A required field is missing in the body | - |
13189
+
**401** | The authentication failed. Your token may be expired, missing or malformed | - |
13190
+
**403** | You don't have the authorization to access this resource. Check if the resource is exclusive to users or app (eg: /user is exclusive to users) or if your user has the right to access this resource. | - |
13191
+
**404** | The resource does not exist or you don't have the right to see if the resource exists | - |
13192
+
**500** | Something really bad happened. Check if your route is correct. By example: /cloud/[object Object]/project may raise a 500. An alert is automatically sent to us, we'll look at it shortly. | - |
13193
+
13194
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
0 commit comments