Skip to content
Skip to Content
Coder Docs

Get licenses

GET
/api/v2/licenses

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Response Body

OK

application/json
  1. response
[index: integer]?

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X GET \	"$CODER_URL/api/v2/licenses" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response200
[  {    "claims": {},    "id": 0,    "uploaded_at": "2019-08-24T14:15:22Z",    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"  }]