get
/api/v2/zones/custom-sub-typesPython SDK method:
client.zones.list_sub_types()Get custom zone sub-types
Returns all custom zone sub-types (also called custom zone types) defined for the authenticated user's database.
Altitude Help Center — getCustomZoneTypesSuccess Responses
200 response: object
OK.
| Name | Type | Description |
|---|---|---|
comments | string | Notes describing the purpose or usage of this sub-type. |
created | string | Timestamp of when the resource was created. |
createdBy | string | Username of the user who created the resource. |
database | string | Database the sub-type belongs to. Omitted for global sub-types. |
id | string | Unique custom zone sub-type identifier. |
modified | string | Timestamp of the most recent modification. |
modifiedBy | string | Username of the user who last modified the resource. |
name | string | Display name for the custom zone sub-type. |
status | integer (int64) | Lifecycle status: 1 = active, 0 = archived. |
Response Errors
| HTTP Status Code | Reason |
|---|---|
| 400 | The request body or parameters are invalid. |
| 401 | Authentication is required or the provided credentials are invalid. |
| 403 | The authenticated user lacks permission to perform this operation. |
| 404 | The requested resource does not exist. |
| 422 | The request is syntactically valid but semantically cannot be processed. |
| 429 | The request rate limit has been exceeded. |
| 500 | An unexpected server error occurred. |