Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
add_user_group_members | POST /user-groups/{user_group_id}/members | Add members to a user group |
add_user_group_roles | POST /user-groups/{user_group_id}/roles | Add roles to a user group |
add_user_group_service_groups | POST /user-groups/{user_group_id}/service-groups | Add service groups to a user group |
create_a_user_group | POST /user-groups | Create a user group |
delete_a_user_group | DELETE /user-groups/{user_group_id} | Delete a user group |
get_a_user_group | GET /user-groups/{user_group_id} | Get a user group |
list_user_group_members | GET /user-groups/{user_group_id}/members | List members of a user group |
list_user_group_roles | GET /user-groups/{user_group_id}/roles | List roles in a user group |
list_user_group_service_groups | GET /user-groups/{user_group_id}/service-groups | List service groups in a user group |
list_user_groups | GET /user-groups | List user groups |
remove_user_group_members | DELETE /user-groups/{user_group_id}/members | Remove members of a user group |
remove_user_group_roles | DELETE /user-groups/{user_group_id}/roles | Remove roles from a user group |
remove_user_group_service_groups | DELETE /user-groups/{user_group_id}/service-groups | Remove service groups from a user group |
update_a_user_group | PATCH /user-groups/{user_group_id} | Update a user group |
Add members to a user group.
let cfg = &Configuration::default();
let params = AddUserGroupMembersParams {
// parameters
};
add_user_group_members(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
user_group_id | String | Alphanumeric string identifying the user group. | [required] | |
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Add roles to a user group.
let cfg = &Configuration::default();
let params = AddUserGroupRolesParams {
// parameters
};
add_user_group_roles(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
user_group_id | String | Alphanumeric string identifying the user group. | [required] | |
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Add service groups to a user group.
let cfg = &Configuration::default();
let params = AddUserGroupServiceGroupsParams {
// parameters
};
add_user_group_service_groups(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
user_group_id | String | Alphanumeric string identifying the user group. | [required] | |
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Create a user group.
let cfg = &Configuration::default();
let params = CreateAUserGroupParams {
// parameters
};
create_a_user_group(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Delete a user group.
let cfg = &Configuration::default();
let params = DeleteAUserGroupParams {
// parameters
};
delete_a_user_group(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
user_group_id | String | Alphanumeric string identifying the user group. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Get a user group.
let cfg = &Configuration::default();
let params = GetAUserGroupParams {
// parameters
};
get_a_user_group(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
user_group_id | String | Alphanumeric string identifying the user group. | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
List members of a user group.
let cfg = &Configuration::default();
let params = ListUserGroupMembersParams {
// parameters
};
list_user_group_members(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
user_group_id | String | Alphanumeric string identifying the user group. | [required] | |
per_page | Option<i32> | Number of records per page. | [default to 20] | |
page | Option<i32> | Current page. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
List roles in a user group.
let cfg = &Configuration::default();
let params = ListUserGroupRolesParams {
// parameters
};
list_user_group_roles(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
user_group_id | String | Alphanumeric string identifying the user group. | [required] | |
per_page | Option<i32> | Number of records per page. | [default to 20] | |
page | Option<i32> | Current page. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
List service groups in a user group.
let cfg = &Configuration::default();
let params = ListUserGroupServiceGroupsParams {
// parameters
};
list_user_group_service_groups(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
user_group_id | String | Alphanumeric string identifying the user group. | [required] | |
per_page | Option<i32> | Number of records per page. | [default to 20] | |
page | Option<i32> | Current page. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
List all user groups.
let cfg = &Configuration::default();
let params = ListUserGroupsParams {
// parameters
};
list_user_groups(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
per_page | Option<i32> | Number of records per page. | [default to 20] | |
page | Option<i32> | Current page. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Remove members of a user group
let cfg = &Configuration::default();
let params = RemoveUserGroupMembersParams {
// parameters
};
remove_user_group_members(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
user_group_id | String | Alphanumeric string identifying the user group. | [required] | |
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Remove roles from a user group.
let cfg = &Configuration::default();
let params = RemoveUserGroupRolesParams {
// parameters
};
remove_user_group_roles(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
user_group_id | String | Alphanumeric string identifying the user group. | [required] | |
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Remove service groups from a user group.
let cfg = &Configuration::default();
let params = RemoveUserGroupServiceGroupsParams {
// parameters
};
remove_user_group_service_groups(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
user_group_id | String | Alphanumeric string identifying the user group. | [required] | |
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Update a user group.
let cfg = &Configuration::default();
let params = UpdateAUserGroupParams {
// parameters
};
update_a_user_group(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
user_group_id | String | Alphanumeric string identifying the user group. | [required] | |
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
- Content-Type: application/json
- Accept: application/json