Request Headers (Applies to all methods)
POST
/api/apps/{appID}/things/VENDOR_THING_ID:{vendorThingID}/ownership/request/group:{groupID}
Start a flow to add the group as the new thing owner.
The administrator and the thing itself can add any group as a thing owner. A group member can add the group as a thing owner.
This request requires empty body.
Content-Type application/vnd.kii.ThingOwnershipRequestResponse+json
Name | Type | Description |
---|---|---|
code | string | The code to complete the ownership process. |
Content-Type application/vnd.kii.GroupNotFoundException+json
Name | Type | Description |
---|---|---|
errorCode | string | Error code "GROUP_NOT_FOUND". |
message | string | The error message. |
groupID | string | The groupID of the group. |
appID | string | The ID of the application. |
Content-Type application/vnd.kii.ThingNotFoundException+json
Name | Type | Description |
---|---|---|
errorCode | string | Error code "THING_NOT_FOUND". |
message | string | The error message. |
field | string | The field used for searching the thing. This can be the "thingID" or "vendorThingID" field. |
value | string | The field value used for searching the thing. |
appID | string | The ID of the application. |
Content-Type application/vnd.kii.ThingOwnershipAlreadyExistsException+json
Name | Type | Description |
---|---|---|
errorCode | string | Error code "THING_OWNERSHIP_ALREADY_EXISTS". |
message | string | The error message. |
appID | string | The ID of the application. |
thingID | string | The ID of the thing. |
userID | string | The ID of the user. |
groupID | string | The ID of the group. |
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). |