org
Remove a member.
Changed onRemoves the person from the organization and revokes their API keys in the same step. Requires a user login, not an API key, and the members:write scope (owner or admin).
delete/v1/org/members/{id}
Request
- Base URLhttps://api.smolmachines.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The member's account id as the roster reports it in userId, or "me" to leave, which needs no role.
Response
Removed; the body names the organization's API keys revoked with them and the machines they created that are left running.
Changes
- info
endpoint added
- info