Update intent on an asset profile

Update an asset intent with new intent rules

Path Params
string
required
length ≤ 150

ID of the asset profile

string
required
length ≤ 150

ID of the intent

Body Params
int64
≥ 0

start time for intent, in epoch (seconds)

int64
≥ 0

end time for intent, in epoch (seconds)

intent
string
enum

To change the status of the intent

Allowed:
Headers
string

32 bytes buffer (24 randomly generated bytes by the client + 8 bytes epoch timestamp seconds) encoded to hex:

const nonce = Buffer.alloc(32); nonce.fill(crypto.randomBytes(24), 0, 24);

const nowEpochSeconds = Math.floor(new Date().getTime() / 1000); const t = BigInt(nowEpochSeconds); nonce.writeBigInt64BE(t, 24);

Responses
200

successful operation

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json