admin_console
admin_auth

Create Admin

Promote a customer-user (by email) to admin. Admin-role only.

post/v1/admin_console/admin_auth/admins

Request

  • Base URL
    https://api.linktodm.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

emailstring email required
role'ADMIN' | 'VIEWER' | 'SEO_ADMIN' | 'TESTING_ADMIN'
namestring nullable

Response

Successful Response

idinteger required
firebase_uidstring required
emailstring email required
namestring nullable
role'ADMIN' | 'VIEWER' | 'SEO_ADMIN' | 'TESTING_ADMIN' required
is_activeboolean required
created_atstring date-time nullable
updated_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.