Upload agent license
POST
/agents/{id}/licenseContract
Parameter | Value |
|---|---|
| Section | agents |
| Authentication | CookieAuth |
| Consumes | multipart/form-data |
| Produces | application/json |
Parameters
2 parameters
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | Agent ID |
| file | formData | yes | file | License file |
{}
Responses
3 responses
Status | Description | Type |
|---|---|---|
200 | Successful response | no body |
400 | Invalid ID or missing file | object |
500 | Agent rejected the license or is unavailable | object |
{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }