DELETE
Stop sharing a site
Company space For: Manager, Stock keeper · Permission: asset_companies_{locations|vehicles}.delete Conditions
  • The {asset} must exist in the current organization, and the {company} link must belong to that asset and organization.
What else happens
  • The company no longer sees or can use the asset, while stock and transfers that already reference the asset are left as they are.
Part of Locations, vehicles and site sharing.

Authorizations

Authorization
string
header
required

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

Path Parameters

asset
string
required

Identifier of the location or vehicle (27-character KSUID).

company
string
required

Identifier of the sharing link (the id returned by the list or create calls, AssetCompanyResource.id), not the identifier of the company itself.

Query Parameters

response
enum<string>
default:none

Response mode. Default none; none answers 204 No Content.

Available options:
none

Response

204

No Content (response mode none).