Get external auth by template version
GET
CoderSessionTokenheader
Coder-Session-Token<token>templateversion*stringTemplate version ID
Format
uuiduser_id?stringOwner to report external auth state for. Defaults to the requesting user.
Format
uuidOK
application/json- response
[index: integer]?The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/templateversions/{templateversion}/external-auth" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
[ { "authenticate_url": "string", "authenticated": true, "display_icon": "string", "display_name": "string", "id": "string", "optional": true, "type": "string" }]