Loading...

DELETE /api/shares/{shareId}

When a job finishes ahead of schedule, an administrator can revoke the link that let a customer view a device or group without signing in. They can also revoke a link that was shared with the wrong person.

Find the access by name, check which devices it covers and use its ID in the request. Once Plaspy confirms deletion, the link stops granting access to anyone who still has a copy.

Request Details

HTTP method DELETE
Path /api/shares/{shareId}

The example identifiers are fictional. Use the identifiers returned by your account’s list for the resource you want to look up or change.

Request Parameters

Path parameters

ParameterTypeRequiredDescription
shareIdStringRequiredStringYesCopy the id with the shr- prefix from GET /api/shares.

Authentication Required

Requires an administrator with access to Users. Demo accounts can only read shared accesses.

Send the token in the Authorization: Bearer {token} header. See Authentication.

Example Request

DELETE /api/shares/{shareId} HTTP/1.1 Host: api.plaspy.com Authorization: Bearer {token}

Response Parameters

The Presence column describes an HTTP 200 response. Conditional fields are omitted when they have no value.

The API confirms deletion in success and includes the usage counters.

FieldTypePresenceDescription
successBooleanAlwaysBooleanAlwaysSet to true on success.
apiUsageIntegerAlwaysIntegerAlwaysUsage units for this request.
apiDailyUsageIntegerAlwaysIntegerAlwaysAccount usage for the day before this request is added.

Example Successful Response

The example shows an HTTP 200 response.

{ "success": true, "apiUsage": 1, "apiDailyUsage": 24 }

Errors

HTTP statusWhen it occurs
400If the ID is recognized but the shared access cannot be found in the account. If the request quota has been reached, error contains the reason.
401If a valid Bearer token is missing.
403If the user lacks the required permission. The reason appears in error.
404If the route or ID is unrecognized.
500An unexpected error occurred while processing the request.

In an error response that includes success, its value is false and error contains the message.

Example Error Response

{ "success": false, "error": "The shared access was not found." }
Index
Questions?

We answer all support request within 24 business hours approximately, If you have a question that needs an immediate resolution, please contact us by other way.

We answer you in business hours, as soon as possible. We are located in Bogotá, Colombia, time zone (GMT-5).

Last modification: 2026-11-30 11:01:20