Request domain registration unlock (Registry Lock).

This endpoint requests the unlock of a domain with Registry Lock enabled. After successful identity verification (often via BankID) and if no unlock request is already in progress, a request is sent to support. The endpoint returns a unique requestId for tracking your request in subsequent calls, such as via Stripe checkout for potential fees.

Headers

Accept Example
Content-Type Example

Body

required
application/json
domainId string required
forceRequest boolean required

Responses

200
success boolean
timestamp string
requestId string
data object
500
error string
message string
code string
timestamp string
requestId string
POST https://cloud.hostup.se/api/registry-lock/request-unlock
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/registry-lock/request-unlock" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "domainId": "string",
    "forceRequest": true
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "requestId": 0,
    "domainName": "string",
    "ticVerified": true,
    "verifiedAs": "string",
    "companyName": "string",
    "alreadyRequested": true,
    "daysSinceRequest": 0,
    "message": "string"
  }
}
Request Body
{
  "domainId": "string",
  "forceRequest": true
}