Accept a pending agent
POST/api/agent/:hostname/accept
Accept a pending agent enrollment request. The agent can be identified by hostname (path parameter) or by fingerprint (query parameter).
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Agent accepted.
Invalid hostname or fingerprint.
Unauthorized - API key required
Forbidden - Insufficient permissions
Pending agent not found.
Error accepting agent.