Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
create_invitation | POST /invitations | Create an invitation |
delete_invitation | DELETE /invitations/{invitation_id} | Delete an invitation |
list_invitations | GET /invitations | List invitations |
Create an invitation.
let cfg = &Configuration::default();
let params = CreateInvitationParams {
// parameters
};
create_invitation(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
invitation | Option<Invitation> |
crate::models::InvitationResponse
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Delete an invitation.
let cfg = &Configuration::default();
let params = DeleteInvitationParams {
// parameters
};
delete_invitation(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
invitation_id | String | Alphanumeric string identifying an invitation. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
List all invitations.
let cfg = &Configuration::default();
let params = ListInvitationsParams {
// parameters
};
list_invitations(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::InvitationsResponse
- Content-Type: Not defined
- Accept: application/vnd.api+json