DELETE /api/v3/primaryuse/{primaryUseId}

Deletes a primary use by its identifier

DeletePrimaryUseV3 Permissions: BuildingsAndOrganizations (Delete)
Use this endpoint to permanently remove a primary use. The primary use cannot be deleted if it is currently assigned to any places or meters.

Request Headers

Header Value Required Description
ECI-ApiKey string Yes Your API key. See Authentication.
Content-Type application/json Yes All requests must specify JSON content type.

Path Parameters

Name Description Type Required
primaryUseId Unique numeric identifier of the primary use to delete integer (int32) Required

Responses

204 No Content The request succeeded. No content is returned in the response body.
404 Not Found The requested resource was not found. Verify the ID or path is correct.