{
"count": 1,
"dnsrecord": {
"__meta__": {
"user:rd": "op"
},
"description": "test create network",
"disabled": true,
"dns_type": "string",
"dns_value": "string",
"dns_zone_id": "string",
"dry_run": false,
"enabled": true,
"generate_name": "test###",
"is_emulated": true,
"mx_priority": 0,
"name": "test-network",
"policy_type": "string",
"policy_value": "string",
"proxied": true,
"status": "string",
"ttl": 0
}
}curl --location --request POST 'https://example.com:30888/dnsrecords' \
--header 'Content-Type: application/json' \
--data-raw '{
"count": 1,
"dnsrecord": {
"__meta__": {
"user:rd": "op"
},
"description": "test create network",
"disabled": true,
"dns_type": "string",
"dns_value": "string",
"dns_zone_id": "string",
"dry_run": false,
"enabled": true,
"generate_name": "test###",
"is_emulated": true,
"mx_priority": 0,
"name": "test-network",
"policy_type": "string",
"policy_value": "string",
"proxied": true,
"status": "string",
"ttl": 0
}
}'{
"dnsrecord": {
"can_delete": true,
"can_update": true,
"created_at": "2019-08-24T14:15:22.123Z",
"delete_fail_reason": {
"class": "string",
"code": 0,
"details": "string"
},
"deleted": true,
"deleted_at": "2019-08-24T14:15:22.123Z",
"description": "string",
"dns_type": "string",
"dns_value": "string",
"dns_zone": "string",
"dns_zone_id": "string",
"enabled": true,
"external_id": "string",
"extra_addresses": [
"string"
],
"id": "string",
"imported_at": "2019-08-24T14:15:22.123Z",
"is_emulated": true,
"metadata": {
"property1": "string",
"property2": "string"
},
"mx_priority": 0,
"name": "string",
"org_node_md5": "string",
"policy_type": "string",
"policy_value": "string",
"progress": 0,
"proxied": true,
"source": "string",
"status": "string",
"ttl": 0,
"update_fail_reason": {
"class": "string",
"code": 0,
"details": "string"
},
"update_version": 0,
"updated_at": "2019-08-24T14:15:22.123Z"
}
}