WorkSmart Dev
HomeSign In
  • Introduction
  • REST Web API
    • Oauth 2.0 Authorization
      • Authorization Code Flow
      • Token (Auth Code Flow)
      • Token (Client Credentials)
    • Records
      • Create Record
      • Read Record
      • Update Record
      • Delete Record
      • Read Records By View
      • Add Comment
      • Add Attachment
      • Download Attachment
    • List Sites
    • Columns
      • List of Columns
  • Webhook
    • Configure a Webhook
Powered by GitBook
On this page
  • Parameters
  • Sample Request
  • Sample Response

Was this helpful?

  1. REST Web API
  2. Records

Delete Record

Archives a record from the application and moves it to trash.

This call will move the record to trash, so you won’t loose your data permanently.

URL : /api/v1/app/{app_id}/record/{record_id} Method : DELETE

Parameters

access_token (required, header parameter) Send this as header – e.g.“Authorization: Bearer access_token”

app_id (required, path parameter) Application Id App for where the record is present

record_id (required, path parameter) ID of the record you want to fetch

Sample Request

curl -H "Authorization: Bearer {access_token}" -X DELETE https://my.worksmart.app/api/v1/app/1234/record/1

Sample Response

{
   "deleted":{
      "id":"1",
      "deleted":"1"
   }
}
PreviousUpdate RecordNextRead Records By View

Last updated 3 years ago

Was this helpful?