Link one received inventory item to an existing watch, or remove its link.

Private and no-store. No catalog quota, paid read, public cache or CORS grant. Requires the human account cookie and CSRF. Installation tokens and wide API keys cannot select watches. The item must be present in this active installation. The watch must already be active and owned by the account. Set alvo to null to remove a link, including after item removal. An exact retry writes nothing. Changed links share the global 512 registrations per day. This creates no watch, charge or approval. Returns: { vinculado }

post/api/monitor/projetos/{projeto}/vigias

Request

  • Base URL: https://agentalog.com
  • URL: https://agentalog.com/api/monitor/projetos/{projeto}/vigias
  • Auth: API key in cookie __Host-mm-auth

Path parameters

projetostring required

Private project ID owned by the signed-in account.

Request body

instalacaostring required

Owned installation ID: 32 lower-case hexadecimal characters.

itemstring required

Received inventory item ID: 64 lower-case hexadecimal characters.

alvostring nullable required

Existing watch ID, or null to remove the link.

Response

{ vinculado }

vinculadoboolean required

True when linked; false when the link is absent.

Changes

No recorded changes to this operation across all 1 revision of this API.