APIPersonal data

Delete a public share

DELETE
/api/v1/shares/{id}

Authorization

bearerAuth shares.write
headerAuthorizationBearer <API key or OAuth 2.1 access token>

Send Authorization: Bearer <credential>. Create API keys in AirTrail Security settings. OAuth clients use authorization code with PKCE S256 and a resource identifier matching /api/v1.

Scope: shares.write

Path Parameters

id*integer

Resource ID.

Range1 <= value

Response Body

Share deleted.

Example Request
curl -X DELETE 'https://your-instance.example/api/v1/shares/1'
Example Response
Empty