update_me
Changes data
Change the person's own account: their name, leaving, the apps they allowed, invitations they received.
Set action to one of these:
update(needsbody): Change the person's full name, shown to their teammates; answers the person asget_medoes. Setting the same name again changes nothing, so a retry is safe.leave_organization(needsorganizationId): End the person's membership of an organization and their access to its products; only an Admin's new invitation brings them back. The last active Admin cannot leave (last_admin). An organization the person is not an active member of is not found. This can't be undone, so Heuristic asks the person first (seeconfirm).leave_product(needsproductId): Remove the person's own access to a product (Users only) until an Admin gives it again. Admins own every product and cannot leave one (admin_owner). A product the person cannot open is not found. This can't be undone, so Heuristic asks the person first (seeconfirm).revoke_connected_app(needsid): Disconnect an app or agent the person allowed: its next call is refused, and it must ask the person again to reconnect. Revoking yourself ends this connection. This can't be undone, so Heuristic asks the person first (seeconfirm).revoke_api_key(needskeyId): Revoke one of the person's API keys: anything using it stops at once. Not found: already revoked or expired. This can't be undone, so Heuristic asks the person first (seeconfirm).accept_invitation(needstoken): Accept an invitation sent to the person's email address: they join the organization with its role and product access. An accepted or expired one is refused (invitation_accepted,invitation_expired).
Actions (set action)
update
- Who can use it
- Anyone signed in
- Hints
- Changes dataSafe to repeat
- Runs
update_me- Inputs
bodyobject, requiredWhat to send; each field is described.
namestring, requiredThe full name, 1 to 100 characters, on one line.
leave_organization
- Who can use it
- Members of the organization
- Hints
- Changes dataCan remove dataAsks the person to confirm
- Runs
leave_organization- Inputs
organizationIdstring, requiredFrom
get_me.confirmbooleanTrue only after the person said yes to the question a first call answered with
confirmation_required. Ignored when your app can show the person questions: Heuristic then asks them itself.
leave_product
- Who can use it
- The product's Owners and Viewers
- Hints
- Changes dataCan remove dataAsks the person to confirm
- Runs
leave_product- Inputs
productIdstring, requiredFrom
read_productwith actionlistorget_me.confirmbooleanTrue only after the person said yes to the question a first call answered with
confirmation_required. Ignored when your app can show the person questions: Heuristic then asks them itself.
revoke_connected_app
- Who can use it
- Anyone signed in
- Hints
- Changes dataCan remove dataAsks the person to confirm
- Runs
revoke_connected_app- Inputs
idstring, requiredThe connected app's id, from
get_mewith actionconnected_apps.confirmbooleanTrue only after the person said yes to the question a first call answered with
confirmation_required. Ignored when your app can show the person questions: Heuristic then asks them itself.
revoke_api_key
- Who can use it
- Anyone signed in
- Hints
- Changes dataCan remove dataAsks the person to confirm
- Runs
revoke_api_key- Inputs
keyIdstring, requiredThe API key's id, from
get_me'sapi_keysaction.confirmbooleanTrue only after the person said yes to the question a first call answered with
confirmation_required. Ignored when your app can show the person questions: Heuristic then asks them itself.
accept_invitation
- Who can use it
- Only the person invited
- Hints
- Changes data
- Runs
accept_invitation- Inputs
tokenstring, requiredThe invitation's token: the last part of the link in the invitation email.