The (mt) Media Temple Public API provides several HTTP headers that can be used across resource requests to perform common operations.
IMPORTANT: As of April 2018, the Media Temple customer API has been deprecated. Previously created API keys will continue to work until further notice, but you will not be able to generate new keys via the Account Center. If you have any questions about this, please feel free to contact our support team.
HTTP headers
The following is a list of HTTP headers that are globally available across resource requests.
Param | Description | Default | Example |
---|---|---|---|
Authorization | Used to specify the API key used to authenticate requests. See API Query parameters also. | "Authorization: MediaTemple FbDgBldQMoKLwIXsBwq..." | |
Accept | Used to specify the desired content type of the response data | HTTP/REST client dependent | "Accept: application/json" |
Content-type | Used to specify the content type of the request data. See API Content Types also. | HTTP/REST client dependent | "Content-type: application/json" |