POST api/Domain/Edit
Amends a domain
Request Information
URI Parameters
None.
Body Parameters
DomainWithContactsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UpdateContactReminders |
A flag to indicate if the contacts who are notified about this domain should be updated |
boolean |
None. |
| SelectedContactIds |
A list of contact ids to notify about this domain |
Collection of integer |
None. |
| Id |
Id of the Domain |
integer |
None. |
| Url |
Url address of the domain |
string |
Required |
| Registrar |
The name of the company the domain is registered with. |
string |
None. |
| RegistrationDate |
Registration date of the domain |
date |
None. |
| ExpirationDate |
Expiration date of the domain |
date |
None. |
| SSL |
Whether the domain has a valid SSL certifacte or not |
boolean |
None. |
| SSLExpirationDate |
Expiration date of the domain's SSL certificate |
date |
None. |
| UserId |
Id of the User |
integer |
Required |
| Pending |
Whether the information of the domain is pending |
boolean |
None. |
| PendingSSLDetails |
Whether the SSl details of the domain are pending |
boolean |
None. |
| SSLVersion |
The SSL certificate version if this domain has an SSL cert |
integer |
None. |
Request Formats
application/json, text/json
{
"UpdateContactReminders": true,
"SelectedContactIds": [
1,
2
],
"Id": 2,
"Url": "sample string 3",
"Registrar": "sample string 4",
"RegistrationDate": "2025-09-25T12:57:47.3502636+00:00",
"ExpirationDate": "2025-09-25T12:57:47.3502636+00:00",
"SSL": true,
"SSLExpirationDate": "2025-09-25T12:57:47.3502636+00:00",
"UserId": 6,
"Pending": true,
"PendingSSLDetails": true,
"SSLVersion": 1
}
application/xml, text/xml
<DomainWithContactsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Expirify.Api.Models.Domain">
<ExpirationDate>2025-09-25T12:57:47.3502636+00:00</ExpirationDate>
<Id>2</Id>
<Pending>true</Pending>
<PendingSSLDetails>true</PendingSSLDetails>
<Registrar>sample string 4</Registrar>
<RegistrationDate>2025-09-25T12:57:47.3502636+00:00</RegistrationDate>
<SSL>true</SSL>
<SSLExpirationDate>2025-09-25T12:57:47.3502636+00:00</SSLExpirationDate>
<SSLVersion>1</SSLVersion>
<Url>sample string 3</Url>
<UserId>6</UserId>
<SelectedContactIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</SelectedContactIds>
<UpdateContactReminders>true</UpdateContactReminders>
</DomainWithContactsRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Amends a domain
DomainWithContactsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| UpdateContactReminders |
A flag to indicate if the contacts who are notified about this domain should be updated |
boolean |
None. |
| SelectedContactIds |
A list of contact ids to notify about this domain |
Collection of integer |
None. |
| Id |
Id of the Domain |
integer |
None. |
| Url |
Url address of the domain |
string |
Required |
| Registrar |
The name of the company the domain is registered with. |
string |
None. |
| RegistrationDate |
Registration date of the domain |
date |
None. |
| ExpirationDate |
Expiration date of the domain |
date |
None. |
| SSL |
Whether the domain has a valid SSL certifacte or not |
boolean |
None. |
| SSLExpirationDate |
Expiration date of the domain's SSL certificate |
date |
None. |
| UserId |
Id of the User |
integer |
Required |
| Pending |
Whether the information of the domain is pending |
boolean |
None. |
| PendingSSLDetails |
Whether the SSl details of the domain are pending |
boolean |
None. |
| SSLVersion |
The SSL certificate version if this domain has an SSL cert |
integer |
None. |
Response Formats
application/json, text/json
{
"UpdateContactReminders": true,
"SelectedContactIds": [
1,
2
],
"Id": 2,
"Url": "sample string 3",
"Registrar": "sample string 4",
"RegistrationDate": "2025-09-25T12:57:47.4908921+00:00",
"ExpirationDate": "2025-09-25T12:57:47.4908921+00:00",
"SSL": true,
"SSLExpirationDate": "2025-09-25T12:57:47.4908921+00:00",
"UserId": 6,
"Pending": true,
"PendingSSLDetails": true,
"SSLVersion": 1
}
application/xml, text/xml
<DomainWithContactsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Expirify.Api.Models.Domain">
<ExpirationDate>2025-09-25T12:57:47.4908921+00:00</ExpirationDate>
<Id>2</Id>
<Pending>true</Pending>
<PendingSSLDetails>true</PendingSSLDetails>
<Registrar>sample string 4</Registrar>
<RegistrationDate>2025-09-25T12:57:47.4908921+00:00</RegistrationDate>
<SSL>true</SSL>
<SSLExpirationDate>2025-09-25T12:57:47.4908921+00:00</SSLExpirationDate>
<SSLVersion>1</SSLVersion>
<Url>sample string 3</Url>
<UserId>6</UserId>
<SelectedContactIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</SelectedContactIds>
<UpdateContactReminders>true</UpdateContactReminders>
</DomainWithContactsResponse>