Update intent on an asset profileAsk AIpatch https://example.com/profiles/asset/{id}/intent/{intentId}Update an asset intent with new intent rulesPath Paramsidstringrequiredlength ≤ 150ID of the asset profileintentIdstringrequiredlength ≤ 150ID of the intentBody Paramsstartint64≥ 0start time for intent, in epoch (seconds)endint64≥ 0end time for intent, in epoch (seconds)intentprimarySalebuyingIntentsellingIntentloanIntentredemptionIntentprivateOfferIntentprimarySaleIntentUpdatePayload objectstatusstringenumTo change the status of the intentRejectedAllowed:RejectedHeadersIdempotency-Keystring32 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 200successful operation 400Bad Request 401Unauthorized 403Forbidden 404Not Found 500Internal Server Error 502Bad Gateway 503Service Unavailable 504Gateway TimeoutUpdated 8 months ago