admin_console
admin_auth

Update Admin

Change role / is_active / name on an admin_user row. Admin-role only.

Self-deactivate and last-admin demotion are blocked with 400.

patch/v1/admin_console/admin_auth/admins/{admin_id}

Request

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

Path parameters

admin_idinteger required

Request body

role'ADMIN' | 'VIEWER' | 'SEO_ADMIN' | 'TESTING_ADMIN'
is_activeboolean nullable
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.