Skip to main content
Skip table of contents

Users

Contents

Get Users

Endpoint:

URL

/api/v2/users/

Method

GET

Expected response code

200

Expected response type

JSON

Example:

BASH
curl -v \
    -H "Authorization: apikey $API_USER:$API_KEY" \
    $COREDATA_BASE_URL/api/v2/users/

Get User details

Endpoint:

URL

/api/v2/user/$username/

Method

GET

Expected response code

200

Expected response type

JSON

URL parameters:

  • username – is a unique username of a CoreData user.

Example:

BASH
username=Administrator

curl -v \
    -H "Authorization: apikey $API_USER:$API_KEY" \
    $COREDATA_BASE_URL/api/v2/user/$username/

Example response:

User details JSON
JSON
{
    "first_name": "Administrator",
    "last_name": "Administrator",
    "resource_uri": "/api/v2/user/Administrator/",
    "user_type": "Administrator",
    "username": "Administrator"
}

Current User

For more information see Current User.

Other operations on users

The other HTTP methods like POST and DELETE are forbidden, so it is not possible to modify or delete a user via CoreData API.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.