Ruby
Delete a record
Remove a record using your record identifier
client.delete_a_record(client_id: "post-123")client_id is required and must match the identifier used when the record was created. The method returns SuccessResponse. It does not accept an Insion record ID.
Method shape
client.delete_a_record(client_id:, request_options: {})| Keyword | Required | Description |
|---|---|---|
client_id | Yes | Your application record identifier. |
request_options | No | Per-request base URL, headers, query/body parameters, or timeout. |
Call deletion when content is permanently removed in your application. A successful Insion::Types::SuccessResponse confirms the removal request; handle Insion::Errors::ResponseError if the record cannot be removed.