Activate Super Admins Accounts

Using the super-admin-token defined in the superadmin-registration.conf file, we can activate the super admin account.

Activate Super Admin

CURL

Endpoint:/v1/superadmin/create-by-token | API Reference

Example Request

curl -X 'POST' \
  'https://enterprise-sandbox.waltid.dev/v1/superadmin/create-by-token' \
  -H 'accept: */*' \
  -H 'Content-Type: application/json' \
  -d '{
    <super-admin-token>
  }'

Body

{
  <super-admin-token>
}

Body Content
Please provide the super-admin-token in the body without any quotation marks.


Response Codes

  • 200 - Super admin account activated successfully