DeleteComponent
Deletes a component from an Amplify app.
Request Syntax
DELETE /app/appId
/environment/environmentName
/components/id
HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- appId
-
The unique ID of the Amplify app associated with the component to delete.
Required: Yes
- environmentName
-
The name of the backend environment that is a part of the Amplify app.
Required: Yes
- id
-
The unique ID of the component to delete.
Required: Yes
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
- InternalServerException
-
An internal error has occurred. Please retry your request.
HTTP Status Code: 500
- InvalidParameterException
-
An invalid or out-of-range value was supplied for the input parameter.
HTTP Status Code: 400
- ResourceNotFoundException
-
The requested resource does not exist, or access was denied.
HTTP Status Code: 404
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: