Skip to main content

Enroll a capture agent with a one-use code

POST 

/api/v1/capture-agent/enroll

Consumes an unexpired enrollment code without a prior session and returns the new agent ID, configured lease duration, and narrow device credential once. Jiandu stores only credential digests.

Request​

Responses​

Agent enrolled; the narrow credential is returned only once

Response Headers
    X-Request-Id

    Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.