Skip to content
Skip to Content
Coder Docs

Delete OAuth2 application tokens.

DELETE
/oauth2/tokens

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Query Parameters

client_id*string

Client ID

Response Body

No Content

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

curl -X DELETE \	"$CODER_URL/oauth2/tokens?client_id={client_id}" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response204
Empty