# Ownership v2
# PUB Remove an owner
# from/module/{module_id}/action/owner/remove
Use this endpoint to remove an owner.
Parameters:
Name | Type | Description | Accepted values |
---|---|---|---|
module_id | string | Module identifier | Name of module |
Message format
Properties:
Key | Value | Notes | Mandatory |
---|---|---|---|
correlationId | <string> | Unique String (e.g. uuid) | Optional |
ack | <string> | Optional | |
target | <string> | Optional | |
context | <string> | Optional | |
timestamp | <string> | Date time in ISO-8601 format | Optional |
owner | <string> | Optional |
Specifying the owner
When specifying the owner property in the header, the identity must already exist and must be connected via this directly connected device. If absent, a directly connected device is presumed to be the owner.
These properties can be included in the request by adding them to the topic to which you are sending the messages. See the Message Properties section to find out more.
Here is an example of the properties used:
from/module/{module_id}/action/owner/remove&parent={parent}&ack=all
Payload information:
Key | Value | Mandatory |
---|---|---|
objectId | <string> | Yes |
model | <string> | Yes |
Here is a sample payload:
[
{
"objectId": "bb495bb9-047a-4fe1-9881-0e3aa3668787",
"model": "abb.ability.device"
}
]
# SUB Ack for owner removal
# to/module/{module_id}/ack/owner/remove
Use this endpoint to check if the owner was removed successfully.
Parameters:
Name | Type | Description | Accepted values |
---|---|---|---|
module_id | string | Module identifier | Name of module |