Reference

Revoke member keys

Revokes every key a person made in the organization, and the keys those keys made. The console calls it when someone leaves or is removed. Needs the server's admin token.

DELETE
/orgs/{org}/members/{user}/keys

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

org*string
user*string

Response Body

How many keys.

application/json
  1. response
revoked*integer
Example Request
curl -X DELETE 'https://example.com/v1/orgs/string/members/string/keys'
Example Response
{  "revoked": 0}