API reference
sites.claim.finish
Finish a Site's Claim
POST/api/v1/sites/{siteId}/claim/finish
Details
Check whether the Site's owner has claimed it (set up its administrator through the Claim Link) and, if so, remove the claim lock from the Site's Worker and record the Site as claimed, so the Site's own sign-up and sign-in work normally. Returns claimed or unclaimed (not yet set up); safe to repeat. CONFLICT while the Site is still being built or if building failed. Audited.
Input
| Field | Type | Notes |
|---|---|---|
siteIdrequired | string | 1 to 64 characters |
Output
| Field | Type | Notes |
|---|---|---|
statusrequired | "claimed" | "unclaimed" |