POST
/
v1
/
objects
/
{id}
/
delete
JavaScript
import Runloop from '@runloop/api-client';

const client = new Runloop({
  bearerToken: 'My Bearer Token',
});

const objectView = await client.objects.delete('id');

console.log(objectView.id);
{
  "id": "<string>",
  "name": "<string>",
  "state": "<string>",
  "size_bytes": 123,
  "content_type": "unspecified",
  "upload_url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The unique identifier of the Object to delete.

Body

application/json · object

Response

200
application/json

Object deleted successfully. Returns the deleted Object metadata.

An Object represents a stored data entity with metadata.