.. vim: ft=rst Registration ============ Registration is performed by creating an :ref:`Account ` resource. Refer to :ref:`"Create an account" ` for details. Examples -------- .. code-block:: bash curl -d '{"email": "foo@example.com", "password": "thepassword", "displayname": "Foo Bar Baz"}' \ -H 'Content-Type: application/json' \ -X POST \ https://login.ubuntu.com/api/v2/accounts