v1

latestOpenAPI 3.0.22026-07-174617345.8 KB
Agent Licenses

Get a license for an agent

Returns a specific license that belongs to a specific agent.

get/api/v1/projects/{projectId}/licenses/{licenseId}

Path parameters

projectIdinteger required

The unique identifier of the agent (formerly known as project).

licenseIdinteger required

The unique identifier of a license.

Response

Show agent license

status'error' | 'success'

The status of the response

Example response

{
  "status": "success",
  "license": {
    "name": "My License",
    "key": "123e4567-e89b-12d3-a456-426614174000",
    "project_id": 7,
    "created_at": "2021-01-01 00:00:00",
    "updated_at": "2021-01-01 00:00:00"
  }
}