import { UpdateRecordRequest } from "@vercel/sdk/models/updaterecordop.js";
let value: UpdateRecordRequest = {
recordId: "rec_2qn7pzrx89yxy34vezpd31y9",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
requestBody: {
name: "example-1",
value: "google.com",
type: "A",
ttl: 60,
srv: {
target: "example2.com.",
weight: 198892,
port: 43046,
priority: 106495,
},
https: {
priority: 650914,
target: "example2.com.",
},
comment: "used to verify ownership of domain",
},
};
Field |
Type |
Required |
Description |
Example |
recordId |
string |
✔️ |
The id of the DNS record |
rec_2qn7pzrx89yxy34vezpd31y9 |
teamId |
string |
➖ |
The Team identifier to perform the request on behalf of. |
team_1a2b3c4d5e6f7g8h9i0j1k2l |
slug |
string |
➖ |
The Team slug to perform the request on behalf of. |
my-team-url-slug |
requestBody |
models.UpdateRecordRequestBody |
✔️ |
N/A |
|