Skip to content
Skip to Content
Coder Docs

Post external auth device by ID

POST
/api/v2/external-auth/{externalauth}/device

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Path Parameters

externalauth*string

External Provider ID

Formatstring

Response Body

No Content

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

curl -X POST \	"$CODER_URL/api/v2/external-auth/{externalauth}/device" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response204
Empty