Request Headers (Applies to all methods)
GET
/api/apps/{appID}/installations/{deviceType}:{installationRegistrationID}
Retrieve the installation data.
Can be performed by the administrator and the installation owner.
Content-Type application/vnd.kii.InstallationRetrievalResponse+json
| Name | Type | Description | 
|---|---|---|
| installationID | string | The ID of the installation | 
| installationRegistrationID | string | The ID of the registration that identifies the device externally. | 
| deviceType | string | The type of the installation. | 
| userID | string | The userID of the installation owner. | 
| thingID | string | The thingID of the installation owner. | 
| development | boolean | The flag that indicates if the installation is for development or production environment. | 
Content-Type application/vnd.kii.InstallationNotFoundException+json
| Name | Type | Description | 
|---|---|---|
| errorCode | string | Error code "INSTALLATION_NOT_FOUND". | 
| message | string | The error message. | 
| installationID | string | The ID of the installation | 
| appID | string | The appID of the installation | 
| installationRegistrationID | string | The registration ID for the installation | 
| deviceType | string | The type of the installation | 
Content-Type application/vnd.kii.UnauthorizedAccessException+json
| Name | Type | Description | 
|---|---|---|
| errorCode | string | Error code "UNAUTHORIZED". | 
| message | string | The error message. | 
| authenticatedAppID | string | The authenticated appID. | 
| authenticatedPrincipalID | string | The authenticated principal ID (userID or thingID). | 
DELETE
/api/apps/{appID}/installations/{deviceType}:{installationRegistrationID}
Delete the installation.
Can be performed by the administrator and the installation owner.
Content-Type (None)
Content-Type application/vnd.kii.InstallationNotFoundException+json
| Name | Type | Description | 
|---|---|---|
| errorCode | string | Error code "INSTALLATION_NOT_FOUND". | 
| message | string | The error message. | 
| installationID | string | The ID of the installation | 
| appID | string | The appID of the installation | 
| installationRegistrationID | string | The registration ID for the installation | 
| deviceType | string | The type of the installation | 
Content-Type application/vnd.kii.UnauthorizedAccessException+json
| Name | Type | Description | 
|---|---|---|
| errorCode | string | Error code "UNAUTHORIZED". | 
| message | string | The error message. | 
| authenticatedAppID | string | The authenticated appID. | 
| authenticatedPrincipalID | string | The authenticated principal ID (userID or thingID). |