All URIs are relative to https://api.scaleway.com
Method | HTTP request | Description |
---|---|---|
create_api_key | POST /iam/v1alpha1/api-keys | Create an API key |
delete_api_key | DELETE /iam/v1alpha1/api-keys/{access_key} | Delete an API key |
get_api_key | GET /iam/v1alpha1/api-keys/{access_key} | Get an API key |
list_api_keys | GET /iam/v1alpha1/api-keys | List API keys |
update_api_key | PATCH /iam/v1alpha1/api-keys/{access_key} | Update an API key |
crate::models::ScalewayPeriodIamPeriodV1alpha1PeriodApiKey create_api_key(create_api_key_request) Create an API key
Name | Type | Description | Required | Notes |
---|---|---|---|---|
create_api_key_request | CreateApiKeyRequest | [required] |
crate::models::ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_api_key(access_key) Delete an API key
Name | Type | Description | Required | Notes |
---|---|---|---|---|
access_key | String | Access key to delete | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodIamPeriodV1alpha1PeriodApiKey get_api_key(access_key) Get an API key
Name | Type | Description | Required | Notes |
---|---|---|---|---|
access_key | String | Access key to search for | [required] |
crate::models::ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodIamPeriodV1alpha1PeriodListApiKeysResponse list_api_keys(organization_id, order_by, page, page_size, application_id, user_id, editable) List API keys
Name | Type | Description | Required | Notes |
---|---|---|---|---|
organization_id | Option<String> | ID of organization | [required] | |
order_by | Option<String> | Criteria for sorting results | [default to created_at_asc] | |
page | Option<i32> | Number of page. Value must be greater or equals to 1 | ||
page_size | Option<i32> | Number of results per page. Value must be between 1 and 100 | ||
application_id | Option<String> | ID of an application bearer | ||
user_id | Option<String> | ID of a user bearer | ||
editable | Option<bool> | Filter out editable API keys or not |
crate::models::ScalewayPeriodIamPeriodV1alpha1PeriodListApiKeysResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodIamPeriodV1alpha1PeriodApiKey update_api_key(access_key, update_api_key_request) Update an API key
Name | Type | Description | Required | Notes |
---|---|---|---|---|
access_key | String | Access key to update | [required] | |
update_api_key_request | UpdateApiKeyRequest | [required] |
crate::models::ScalewayPeriodIamPeriodV1alpha1PeriodApiKey
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]