Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log into the AMPLIFY Platform.
  2. Select Dashboard on the Dashboard tile.
  3. Select an application from the Projects Apps tab.

Then, either create a new admin user or add admin access to an existing user.

...

  1. In the left navigation bar, click Manage Data.
  2. In the main pane, click Users.
  3. Click + Create User. A dialog appears.
  4. Under the Admin section, click the Yes radio button.
  5. At a minimum, enter a username, email, and password.
  6. Click Save Changes.
     

Mobile Backend Services creates a new user with admin access.

...

  1. In the left navigation bar, click Manage Data.
  2. In the main pane, click Users.
  3. Locate the user you want to give admin access to and click the username to edit the user.
  4. Locate the Admin section and click the Yes radio button.
  5. Scroll down and click Save Changes.

This user now has admin access. To disable access, follow the same steps except click the No radio button.

...

Code Block
languagejs
collapsetrue
curl -b cookies.txt -c cookies.txt -F "su_id=520289441e1ef70b1a0236d2" -F "message=Hola, Mundo\!" 
"api.cloud.appcelerator.com/v1/statuses/create.json?key=APP_API_KEY"
{
  "meta": {
    "code": 200,
    "status": "ok",
    "method_name": "createStatus"
  },
  "response": {
    "statuses": [
      {
        "id": "5202c1ed87173a0afc024524",
        "message": "Hola, Mundo\\!",
        "created_at": "2013-08-07T21:53:49+0000",
        "updated_at": "2013-08-07T21:53:49+0000",
        "user": {
          "id": "520289441e1ef70b1a0236d2",
          "created_at": "2013-08-07T17:52:04+0000",
          "updated_at": "2013-08-07T17:52:04+0000",
          "external_accounts": [

          ],
          "confirmed_at": "2013-08-07T17:52:04+0000",
          "username": "not_an_admin",
          "admin": "false"
        }
      }
    ]
  }
}

To verify that the other specified user created this status and not the admin user, run the following curl command and compare the user IDs:

...

Certain MBS objects can have dependencies on other objects. For example, when you create a Checkins object object you can specify a Places or Events object to associate with it. In this case, the Checkins object is a dependency of the Places or Events object. If you delete the Places or Events object, the dependent Checkins object is not deleted.

...