DeleteRecord - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.


Deletes a Record from a FeatureGroup. When the DeleteRecord API is called a new record will be added to the OfflineStore and the Record will be removed from the OnlineStore. This record will have a value of True in the is_deleted column.

Request Syntax

DELETE /FeatureGroup/FeatureGroupName?EventTime=EventTime&RecordIdentifierValueAsString=RecordIdentifierValueAsString HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.


Timestamp indicating when the deletion event occurred. EventTime can be used to query data at a certain point in time.

Length Constraints: Maximum length of 358400.

Pattern: .*

Required: Yes


The name of the feature group to delete the record from.

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9])*

Required: Yes


The value for the RecordIdentifier that uniquely identifies the record, in string format.

Length Constraints: Maximum length of 358400.

Pattern: .*

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.


For information about the errors that are common to all actions, see Common Errors.


You do not have permission to perform an action.

HTTP Status Code: 403


An internal failure occurred. Try your request again. If the problem persists, contact Amazon customer support.

HTTP Status Code: 500


The service is currently unavailable.

HTTP Status Code: 503


There was an error validating your request.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: