Skip to content
Skip to Content
Coder Docs

Fetch provisioner key details

GET
/api/v2/provisionerkeys/{provisionerkey}

Authorization

CoderProvisionerKey
headerCoder-Provisioner-Daemon-Key<token>

Path Parameters

provisionerkey*string

Provisioner Key

Response Body

OK

application/json
  1. response
created_at?string
Formatdate-time
id?string
Formatuuid
name?string
organization?string
Formatuuid
tags?

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

curl -X GET \	"$CODER_URL/api/v2/provisionerkeys/{provisionerkey}" \	-H "Coder-Provisioner-Daemon-Key: {CoderProvisionerKey}"
Example Response200
{  "created_at": "2019-08-24T14:15:22Z",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "organization": "452c1a86-a0af-475b-b03f-724878b0f387",  "tags": {    "property1": "string",    "property2": "string"  }}