Skip to main content
PUT
/
v1
/
domains
/
{id}
/
registrations
/
{registrationId}
Update domain registration
curl --request PUT \
  --url https://api.shingleai.com/v1/domains/{id}/registrations/{registrationId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "state": "<string>",
  "externalDomainId": "<string>",
  "externalId": "<string>",
  "autoRenew": true,
  "whoisPrivacy": true,
  "transferLock": true,
  "period": 123
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z",
    "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "state": "<string>",
    "externalDomainId": "<string>",
    "externalId": "<string>",
    "autoRenew": true,
    "whoisPrivacy": true,
    "transferLock": true,
    "period": 123,
    "createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "meta": {
    "pagination": {
      "limit": 123,
      "offset": 123,
      "hasMore": true,
      "total": 123
    }
  }
}

Authorizations

Authorization
string
header
required

API key authentication via Bearer token

Path Parameters

id
string<uuid>
required

Domain UUID

registrationId
string<uuid>
required

Registration UUID

Body

application/json
state
string
externalDomainId
string
externalId
string
autoRenew
boolean
whoisPrivacy
boolean
transferLock
boolean
period
integer

Response

Registration updated successfully

data
object
required
meta
object