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
[[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)
[**listOrganizationInvitations**](OrganizationApi.md#listOrganizationInvitations) | **GET** /organizations/invitations | List the organization invitations
12
12
[**listOrganizationUsers**](OrganizationApi.md#listOrganizationUsers) | **GET** /organizations/users | List the organization users
13
13
[**removeOrganizationInvitation**](OrganizationApi.md#removeOrganizationInvitation) | **DELETE** /organizations/invitations/{invitation} | Remove an organization invitation
14
+
[**removeOrganizationUser**](OrganizationApi.md#removeOrganizationUser) | **DELETE** /organizations/users/{user} | Remove an account from Flat
[**updateOrganizationUser**](OrganizationApi.md#updateOrganizationUser) | **PUT** /organizations/users/{user} | Update account information
15
17
16
18
17
19
# **createLtiCredentials**
@@ -199,7 +201,7 @@ This endpoint does not need any parameter.
199
201
[[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)
$api_instance = new Flat\APIClient\Api\OrganizationApi();
215
217
$role = "role_example"; // string | Filter users by role
216
-
$limit = 100; // int | This is the maximum number of objects that may be returned
217
-
$offset = 0; // int | This offsets the start of each page by the number specified
218
+
$limit = 50; // int | This is the maximum number of objects that may be returned
219
+
$next = "next_example"; // string | An opaque string cursor to fetch the next page of data. The paginated API URLs are returned in the `Link` header when requesting the API. These URLs will contain a `next` and `previous` cursor based on the available data.
220
+
$previous = "previous_example"; // string | An opaque string cursor to fetch the previous page of data. The paginated API URLs are returned in the `Link` header when requesting the API. These URLs will contain a `next` and `previous` cursor based on the available data.
**role** | **string**| Filter users by role | [optional]
233
-
**limit** | **int**| This is the maximum number of objects that may be returned | [optional][default to 100]
234
-
**offset** | **int**| This offsets the start of each page by the number specified | [optional][default to 0]
236
+
**limit** | **int**| This is the maximum number of objects that may be returned | [optional][default to 50]
237
+
**next** | **string**| An opaque string cursor to fetch the next page of data. The paginated API URLs are returned in the `Link` header when requesting the API. These URLs will contain a `next` and `previous` cursor based on the available data. | [optional]
238
+
**previous** | **string**| An opaque string cursor to fetch the previous page of data. The paginated API URLs are returned in the `Link` header when requesting the API. These URLs will contain a `next` and `previous` cursor based on the available data. | [optional]
235
239
236
240
### Return type
237
241
@@ -249,7 +253,7 @@ Name | Type | Description | Notes
249
253
[[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)
$api_instance = new Flat\APIClient\Api\OrganizationApi();
265
269
$role = "role_example"; // string | Filter users by role
266
-
$limit = 100; // int | This is the maximum number of objects that may be returned
267
-
$offset = 0; // int | This offsets the start of each page by the number specified
270
+
$limit = 50; // int | This is the maximum number of objects that may be returned
271
+
$next = "next_example"; // string | An opaque string cursor to fetch the next page of data. The paginated API URLs are returned in the `Link` header when requesting the API. These URLs will contain a `next` and `previous` cursor based on the available data.
272
+
$previous = "previous_example"; // string | An opaque string cursor to fetch the previous page of data. The paginated API URLs are returned in the `Link` header when requesting the API. These URLs will contain a `next` and `previous` cursor based on the available data.
**role** | **string**| Filter users by role | [optional]
283
-
**limit** | **int**| This is the maximum number of objects that may be returned | [optional][default to 100]
284
-
**offset** | **int**| This offsets the start of each page by the number specified | [optional][default to 0]
288
+
**limit** | **int**| This is the maximum number of objects that may be returned | [optional][default to 50]
289
+
**next** | **string**| An opaque string cursor to fetch the next page of data. The paginated API URLs are returned in the `Link` header when requesting the API. These URLs will contain a `next` and `previous` cursor based on the available data. | [optional]
290
+
**previous** | **string**| An opaque string cursor to fetch the previous page of data. The paginated API URLs are returned in the `Link` header when requesting the API. These URLs will contain a `next` and `previous` cursor based on the available data. | [optional]
285
291
286
292
### Return type
287
293
@@ -343,6 +349,55 @@ void (empty response body)
343
349
344
350
[[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)
This operation removes an account from Flat and its data, including: * The music scores created by this user (documents, history, comments, collaboration information) * Education related data (assignments and classroom information)
358
+
359
+
### Example
360
+
```php
361
+
<?php
362
+
require_once(__DIR__ . '/vendor/autoload.php');
363
+
364
+
// Configure OAuth2 access token for authorization: OAuth2
$api_instance = new Flat\APIClient\Api\OrganizationApi();
368
+
$user = "user_example"; // string | Unique identifier of the Flat account
369
+
$convertToIndividual = true; // bool | If `true`, the account will be only removed from the organization and converted into an individual account on our public website, https://flat.io. This operation will remove the education-related data from the account. Before realizing this operation, you need to be sure that the user is at least 13 years old and that this one has read and agreed to the Individual Terms of Services of Flat available on https://flat.io/legal.
**user** | **string**| Unique identifier of the Flat account |
384
+
**convertToIndividual** | **bool**| If `true`, the account will be only removed from the organization and converted into an individual account on our public website, https://flat.io. This operation will remove the education-related data from the account. Before realizing this operation, you need to be sure that the user is at least 13 years old and that this one has read and agreed to the Individual Terms of Services of Flat available on https://flat.io/legal. | [optional]
385
+
386
+
### Return type
387
+
388
+
void (empty response body)
389
+
390
+
### Authorization
391
+
392
+
[OAuth2](../../README.md#OAuth2)
393
+
394
+
### HTTP request headers
395
+
396
+
-**Content-Type**: application/json
397
+
-**Accept**: application/json
398
+
399
+
[[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)
400
+
346
401
# **revokeLtiCredentials**
347
402
> revokeLtiCredentials($credentials)
348
403
@@ -388,3 +443,51 @@ void (empty response body)
388
443
389
444
[[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)
[[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)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments