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.
Accept Example Content-Type Example domainId string required forceRequest boolean required success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string https://cloud.hostup.se/api/registry-lock/request-unlock 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
}' {
"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"
}
} {
"domainId": "string",
"forceRequest": true
}