Accounts-accountId-dedicatedFirewalls-availability:GET
From Hostway API Documentation
(Difference between revisions)
(→URI Parameters) |
Mike.robski (Talk | contribs) m (1 revision: Release 111) |
Latest revision as of 11:15, 18 September 2015
GET /accounts/{accountId}/dedicatedFirewalls/availability
Check for dedicated firewall product availability by a specific account and optional location.
Contents |
Request
GET /accounts/{accountId}/dedicatedFirewalls/availability
Request Parameters
- accountId - string
- The Id of the account.
URI Parameters
- location - string
- (OPTIONAL)
- Text key of the dedicated firewall location.
- Omitting the location will result in search for dedicated firewall product, regardless of location.
Request Headers
- Authorization - HTTP Authorization header [1]
- The Authentication credentials of the client application.
Response
Status Code
- 204 No Content
- There is at least one existing dedicated firewall product with the specified criteria.
- 401 Unauthorized
- The supplied credentials are invalid or do not provide permissions for this operation.
- 403 Forbidden
- The authorized user does not have permissions to access the resource.
- 404 Not Found
- There is no existing dedicated firewall products with the specified criteria.
Examples
Availability check for dedicated firewall product, regardless of location
Request
GET /accounts/{accountId}/dedicatedFirewalls/availability
Response
204 No Content
Availability check for dedicated firewall product in a particular location
Request
GET /accounts/{accountId}/dedicatedFirewalls/availability?location=location_text_key
Response
204 No Content