Skip to main content
POST/api/public/v1/bookmarks/applications/{id}/cancel

bookmarks.cancel

Withdraw a queued application before a browser takes it; CONFLICT while the browser is applying it or once it ended.

Capability: bookmark.importCommand (idempotent)MCP tool: bookmarks_cancel
View as Markdown

Parameters

NameTypeRequiredDescription
idpathstring (uuid)YesBookmark application id
command_idbodystring (uuid)YesClient-generated UUID for this command. Send the same id (and body) again to get the stored receipt instead of a second change; a different body under the same id is CONFLICT.

Examples

curl -X POST "https://browlix.com/api/public/v1/bookmarks/applications/<id>/cancel" \
  -H "Authorization: Bearer $BROWLIX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"command_id":"<uuid>"}'

Response

201 with { data, replayed: false, correlation_id } the first time; 200 with replayed: true when the same command_id and body come again.

FieldTypeAlways presentDescription
dataobjectYes
data.opobjectYes
data.op.idstring (uuid)Yes
data.op.profile_idstring (uuid)Yes
data.op.profile_namestringNo
data.op.profile_numberintegerNo(min -9007199254740991, max 9007199254740991)
data.op.set_idstring (uuid)No
data.op.set_namestringYes
data.op.mode"merge" | "replace"Yes
data.op.scope"folder" | "all"Yes
data.op.folderstringNo
data.op.state"pending" | "applying" | "applied" | "failed" | "cancelled"Yes
data.op.revintegerYes(min -9007199254740991, max 9007199254740991)
data.op.session_idstring (uuid)No
data.op.resultobjectNo
data.op.result.addedintegerYes(min -9007199254740991, max 9007199254740991)
data.op.result.duplicatesintegerYes(min -9007199254740991, max 9007199254740991)
data.op.result.removedintegerYes(min -9007199254740991, max 9007199254740991)
data.op.reasonstringNo
data.op.created_atstringYes
data.op.updated_atstringYes
correlation_idstring (uuid)Yes
replayedbooleanNotrue when this command_id was already applied and the stored receipt came back

New fields can appear at any time; ignore the ones you do not know.

Errors

CodeHTTPRetryable
UNAUTHENTICATED401No
FORBIDDEN403No
RATE_LIMITED429Yes
VALIDATION_FAILED422No
NOT_FOUND404No
CONFLICT409No
OUTCOME_UNKNOWN202Yes
DEPENDENCY_UNAVAILABLE503Yes
UNKNOWN500No

Every error code and when to retry

All operations