GET
/
iam
/
admin
/
sellers
Get a list of sellers
curl --request GET \
  --url https://api.gcore.com/iam/admin/sellers \
  --header 'Authorization: <api-key>'
[
  {
    "id": 123,
    "email": "jsmith@example.com",
    "full_name": "<string>",
    "phone": "<string>",
    "reseller_name": "<string>",
    "company": "<string>",
    "date_joined": "<string>",
    "activated": true,
    "deleted": true
  }
]

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Query Parameters

limit
integer

The maximum number of items.

offset
integer

Offset relative to the beginning of list.

ordering
string

The parameter using for sorting data. Default sort order is ascending. Put - before value for descending sort order: -id.

  • id - sort by seller's ID.
  • email - sort by seller's email.
  • full_name - sort by seller's full name.
  • date_joined - sort by seller's registration date.
  • activated - sort by activated field.
  • deleted - sort by deleted field. Use comma separated string for multiple-field sorting.
Example:

"activated,-date_joined"

id
number

Filter by id.

Example:

1

id__in
string

Filter by id list. Use comma separated string for multiple values.

Example:

"1,2,3"

id__contains
string

Filter by part of ID.

Example:

22

email
string<email>

Filter byemail address.

full_name
string

Filter by full name.

activated
enum<string>

Filter by status of activation:

  • true - activated;
  • false - non-activated.
deleted
enum<string>

Filter by status of deletion:

  • true — only deleted;
  • false — only non-deleted clients;
  • other value — return all.
reseller_name
string

Filter by reseller's name.

Response

200
application/json

OK.

Simple array without pagination