Skip to content

Latest commit

 

History

History
150 lines (91 loc) · 3.35 KB

ObjectStorageAccessKeysApi.md

File metadata and controls

150 lines (91 loc) · 3.35 KB

ObjectStorageAccessKeysApi

Note

All URIs are relative to https://api.fastly.com

Method HTTP request Description
create_access_key POST /resources/object-storage/access-keys Create an access key
delete_access_key DELETE /resources/object-storage/access-keys/{access_key} Delete an access key
get_access_key GET /resources/object-storage/access-keys/{access_key} Get an access key
list_access_keys GET /resources/object-storage/access-keys List access keys

create_access_key

Create an access key.

let cfg = &Configuration::default();
let params = CreateAccessKeyParams {
    // parameters
};
create_access_key(cfg, params)

Parameters

Name Type Description Required Notes
access_key Option<AccessKey>

Return type

crate::models::AccessKeyResponse

Authorization

token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to README]

delete_access_key

Delete an access key.

let cfg = &Configuration::default();
let params = DeleteAccessKeyParams {
    // parameters
};
delete_access_key(cfg, params)

Parameters

Name Type Description Required Notes
access_key String [required]

Return type

(empty response body)

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to README]

get_access_key

Get an access key by its identifier.

let cfg = &Configuration::default();
let params = GetAccessKeyParams {
    // parameters
};
get_access_key(cfg, params)

Parameters

Name Type Description Required Notes
access_key String [required]

Return type

crate::models::AccessKey

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to README]

list_access_keys

List access keys.

let cfg = &Configuration::default();
let params = ListAccessKeysParams {
    // parameters
};
list_access_keys(cfg, params)

Parameters

This endpoint does not need any parameter.

Return type

crate::models::AccessKeyResponse

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to README]