Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
create_service_authorization | POST /service-authorizations | Create service authorization |
delete_service_authorization | DELETE /service-authorizations/{service_authorization_id} | Delete service authorization |
delete_service_authorization2 | DELETE /service-authorizations | Delete service authorizations |
list_service_authorization | GET /service-authorizations | List service authorizations |
show_service_authorization | GET /service-authorizations/{service_authorization_id} | Show service authorization |
update_service_authorization | PATCH /service-authorizations/{service_authorization_id} | Update service authorization |
update_service_authorization2 | PATCH /service-authorizations | Update service authorizations |
Create service authorization.
let cfg = &Configuration::default();
let params = CreateServiceAuthorizationParams {
// parameters
};
create_service_authorization(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_authorization | Option<ServiceAuthorization> |
crate::models::ServiceAuthorizationResponse
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Delete service authorization.
let cfg = &Configuration::default();
let params = DeleteServiceAuthorizationParams {
// parameters
};
delete_service_authorization(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_authorization_id | String | Alphanumeric string identifying a service authorization. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Delete service authorizations.
let cfg = &Configuration::default();
let params = DeleteServiceAuthorization2Params {
// parameters
};
delete_service_authorization2(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
crate::models::InlineResponse2007
- Content-Type: application/vnd.api+json; ext=bulk
- Accept: application/vnd.api+json; ext=bulk
[Back to top] [Back to API list] [Back to README]
List service authorizations.
let cfg = &Configuration::default();
let params = ListServiceAuthorizationParams {
// parameters
};
list_service_authorization(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
page_number | Option<i32> | Current page. | ||
page_size | Option<i32> | Number of records per page. | [default to 20] |
crate::models::ServiceAuthorizationsResponse
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Show service authorization.
let cfg = &Configuration::default();
let params = ShowServiceAuthorizationParams {
// parameters
};
show_service_authorization(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_authorization_id | String | Alphanumeric string identifying a service authorization. | [required] |
crate::models::ServiceAuthorizationResponse
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Update service authorization.
let cfg = &Configuration::default();
let params = UpdateServiceAuthorizationParams {
// parameters
};
update_service_authorization(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_authorization_id | String | Alphanumeric string identifying a service authorization. | [required] | |
service_authorization | Option<ServiceAuthorization> |
crate::models::ServiceAuthorizationResponse
- Content-Type: application/json
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Update service authorizations.
let cfg = &Configuration::default();
let params = UpdateServiceAuthorization2Params {
// parameters
};
update_service_authorization2(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
crate::models::ServiceAuthorizationsResponse
- Content-Type: application/vnd.api+json; ext=bulk
- Accept: application/vnd.api+json; ext=bulk