Accounts-accountNumber-web-domainName-php:DELETE
From Hostway API Documentation
Revision as of 07:46, 20 April 2015 by Velimira.metodieva (Talk)
DELETE /accounts/{accountNumber}/web/{domainName}/php
Deletes PHP feature from domain.
Contents |
Request
DELETE /accounts/{accountNumber}/web/{domainName}/php
URI Parameters
- accountNumber - string
- The user account owning the domain name
- domainName - string
- The target domain name (domain name where the site is actually hosted)
Request Headers
- Authorization - HTTP Authorization header [1]
- The Authentication credentials of the client application.
- Content-Type
- Required. Set this header to
application/json; charset=UTF-8
Response
Status Code
- 202 Accepted
- Success
- 401 Unauthorized
- The supplied credentials are invalid or do not provide permissions for this operation.
- 403 Forbidden
- The authenticated user is not allowed to delete this feature.
- 404 Not Found
- The domain name or the feature do not exist for the account.
Examples
Success deleting subdomain
Request
DELETE /accounts/test-account/web/test.com/php
Response
202 Accepted