super_admins

Make an email SUPER_ADMIN or USER, whether or not they have signed in.

An existing user is promoted or demoted. Someone who has not signed in yet is invited, or has their invite cancelled. Refuses to demote the caller, so the last super admin cannot lock everyone out.

put/api/v1/admin/super-admins/role

Request

  • Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.getanana.com/api/v1/admin/super-admins/role
  • Auth: none declared

Request body

emailstring email required
role'SUPER_ADMIN' | 'USER' required

Response

Successful Response

emailstring required
outcome'promoted' | 'demoted' | 'unchanged' | 'invited' | 'invite_cancelled' required

Changes