Approve or reject a device
Devices & provisioning
Approve or reject a device
Approves or rejects a device registration request. On approval, creates a Portainer endpoint and returns edge key for agent setup.
POST
Approve or reject a device
Authorizations
JWT access token. Paste the token only; the Bearer prefix is added automatically.
Path Parameters
Device ID
Body
application/json
Approval action
The body is of type object.
Response
Device approved successfully
The response is of type object.