File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -6306,7 +6306,27 @@ paths:
6306
6306
content:
6307
6307
application/json:
6308
6308
schema:
6309
- $ref: '#/components/schemas/DomainRecord'
6309
+ type: object
6310
+ description: A Domain Record Update request object.
6311
+ properties:
6312
+ name:
6313
+ $ref: '#/components/schemas/DomainRecord/properties/name'
6314
+ target:
6315
+ $ref: '#/components/schemas/DomainRecord/properties/target'
6316
+ priority:
6317
+ $ref: '#/components/schemas/DomainRecord/properties/priority'
6318
+ weight:
6319
+ $ref: '#/components/schemas/DomainRecord/properties/weight'
6320
+ port:
6321
+ $ref: '#/components/schemas/DomainRecord/properties/port'
6322
+ service:
6323
+ $ref: '#/components/schemas/DomainRecord/properties/service'
6324
+ protocol:
6325
+ $ref: '#/components/schemas/DomainRecord/properties/protocol'
6326
+ ttl_sec:
6327
+ $ref: '#/components/schemas/DomainRecord/properties/ttl_sec'
6328
+ tag:
6329
+ $ref: '#/components/schemas/DomainRecord/properties/tag'
6310
6330
responses:
6311
6331
'200':
6312
6332
description: Domain Record updated.
@@ -6322,7 +6342,6 @@ paths:
6322
6342
curl -H "Content-Type: application/json" \
6323
6343
-H "Authorization: Bearer $TOKEN" \
6324
6344
-X PUT -d '{
6325
- "type": "A",
6326
6345
"name": "test",
6327
6346
"target": "203.0.113.1",
6328
6347
"priority": 50,
@@ -6337,7 +6356,6 @@ paths:
6337
6356
- lang: CLI
6338
6357
source: >
6339
6358
linode-cli domains records-update 123 234 \
6340
- --type A \
6341
6359
--name test \
6342
6360
--target 203.0.113.1 \
6343
6361
--priority 50 \
You can’t perform that action at this time.
0 commit comments