GET
/
waap
/
v1
/
organizations
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
page = client.waap.organizations.list()
page = page.results[0]
print(page.id)
{
  "limit": 123,
  "offset": 123,
  "count": 123,
  "results": [
    {
      "id": 123,
      "name": "<string>"
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Query Parameters

ordering
enum<string> | null

Determine the field to order results by

Available options:
name,
id,
-name,
-id
limit
integer
default:100

Number of items to return

Required range: 0 <= x <= 100
offset
integer
default:0

Number of items to skip

Required range: 0 <= x <= 100000
name
string

Filter organizations by their name. Supports '*' as a wildcard character.

Response

200
application/json

Successful Response

The response is of type object.