Skip to content
Skip to Content
Coder Docs

Delete external auth user link by ID

DELETE
/api/v2/external-auth/{externalauth}

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Path Parameters

externalauth*string

Git Provider ID

Formatstring

Response Body

OK

application/json
  1. response
token_revocation_error?string
token_revoked?boolean

TokenRevoked set to true if token revocation was attempted and was successful

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

curl -X DELETE \	"$CODER_URL/api/v2/external-auth/{externalauth}" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response200
{  "token_revocation_error": "string",  "token_revoked": true}