Skip to content
Skip to Content
Coder Docs

Remove organization member

DELETE
/api/v2/organizations/{organization}/members/{user}

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Path Parameters

organization*string

Organization ID

user*string

User ID, name, or me

Response Body

No Content

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

curl -X DELETE \	"$CODER_URL/api/v2/organizations/{organization}/members/{user}" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response204
Empty