|
|
|
@ -93,7 +93,7 @@ export class OvhApi{
|
|
|
|
|
return await this.sendSignedRequest({
|
|
|
|
|
path: `/domain/zone/${domain}/record/${id}`,
|
|
|
|
|
getMethod: rest=>rest.put,
|
|
|
|
|
body: {subDomain, target, ttl, fieldType}
|
|
|
|
|
body: {subDomain, target, ttl}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -118,4 +118,11 @@ export class OvhApi{
|
|
|
|
|
path: `/domain/zone/${domain}/record/${id}`
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
async refreshZone(zone){
|
|
|
|
|
return await this.sendSignedRequest({
|
|
|
|
|
path: `/domain/zone/${zone}/refresh`,
|
|
|
|
|
getMethod: rest=>rest.post
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|