Skip to main content

Upload agent license

POST
/agents/{id}/license

Contract

Parameter
Value
Sectionagents
AuthenticationCookieAuth
Consumesmultipart/form-data
Producesapplication/json

Parameters

2 parameters

Name
Location
Required
Type
Description
idpathyesintegerAgent ID
fileformDatayesfileLicense file
  • {}

Responses

3 responses

Status
Description
Type
200
Successful responseno body
400
Invalid ID or missing fileobject
500
Agent rejected the license or is unavailableobject
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }