RecordsApi
All URIs are relative to https://dns.de-fra.ionos.com
Get /secondaryzones/{secondaryZoneId}/records
Retrieve records for a secondary zone
RecordsGet
var result RecordReadList = RecordsGet(ctx)
.FilterZoneId(filterZoneId)
.FilterName(filterName)
.FilterState(filterState)
.FilterType(filterType)
.Offset(offset)
.Limit(limit)
.Execute()Retrieve all records from primary zones
Example
Path Parameters
Other Parameters
Other parameters are passed through a pointer to an apiRecordsGetRequest struct via the builder pattern
filterZoneId
string
Filter used to fetch only the records that contain specified zoneId.
filterName
string
Filter used to fetch only the records that contain specified record name.
offset
int32
The first element (of the total list of elements) to include in the response. Use together with limit for pagination.
[default to 0]
limit
int32
The maximum number of elements to return. Use together with offset for pagination.
[default to 100]
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
SecondaryzonesRecordsGet
Retrieve records for a secondary zone
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
secondaryZoneId
string
The ID (UUID) of the DNS secondary zone.
Other Parameters
Other parameters are passed through a pointer to an apiSecondaryzonesRecordsGetRequest struct via the builder pattern
offset
int32
The first element (of the total list of elements) to include in the response. Use together with limit for pagination.
[default to 0]
limit
int32
The maximum number of elements to return. Use together with offset for pagination.
[default to 100]
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
ZonesRecordsDelete
Delete a record
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
zoneId
string
The ID (UUID) of the DNS zone.
recordId
string
The ID (UUID) of the record.
Other Parameters
Other parameters are passed through a pointer to an apiZonesRecordsDeleteRequest struct via the builder pattern
Name
Type
Description
Notes
Return type
map[string]interface{}
HTTP request headers
Content-Type: Not defined
Accept: application/json
ZonesRecordsFindById
Retrieve a record
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
zoneId
string
The ID (UUID) of the DNS zone.
recordId
string
The ID (UUID) of the record.
Other Parameters
Other parameters are passed through a pointer to an apiZonesRecordsFindByIdRequest struct via the builder pattern
Name
Type
Description
Notes
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
ZonesRecordsGet
Retrieve records
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
zoneId
string
The ID (UUID) of the DNS zone.
Other Parameters
Other parameters are passed through a pointer to an apiZonesRecordsGetRequest struct via the builder pattern
Name
Type
Description
Notes
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
ZonesRecordsPost
Create a record
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
zoneId
string
The ID (UUID) of the DNS zone.
Other Parameters
Other parameters are passed through a pointer to an apiZonesRecordsPostRequest struct via the builder pattern
Return type
HTTP request headers
Content-Type: application/json
Accept: application/json
ZonesRecordsPut
Update a record
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
zoneId
string
The ID (UUID) of the DNS zone.
recordId
string
The ID (UUID) of the DNS record.
Other Parameters
Other parameters are passed through a pointer to an apiZonesRecordsPutRequest struct via the builder pattern
Return type
HTTP request headers
Content-Type: application/json
Accept: application/json
Last updated
