Send the ownership steps to a colleague
POSThttps://api.fortwatch.ai/app/assets/{id}/ownership/share
Mails the DNS TXT record (and the file, where it applies) that proves the asset to a colleague who runs its DNS or its site, who needs no FortWatch account. At most 10 a day per workspace and 2 a day per address (429 SHARE_LIMIT); 409 when the asset is already verified.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
idrequired | path | integer |
Request body
JSON, required.
| Field | Type | Description |
|---|---|---|
emailrequired | string (email) |
Example request
curl -X POST "https://api.fortwatch.ai/app/assets/42/ownership/share" \
-H "Authorization: Bearer $FORTWATCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "string"
}'Response 200
The request succeeded.
| Field | Type | Description |
|---|---|---|
sentrequired | boolean | |
torequired | string | The address the steps went to |
{
"sent": true,
"to": "string"
}Errors
400 | The request is not valid: a field is missing or has the wrong shape (the message names it). |
401 | No valid credentials: the API key or access token is missing, revoked or expired (INVALID_API_KEY, INVALID_TOKEN). |
403 | Not allowed: the key or token lacks this scope (SCOPE_REQUIRED), the route is dashboard-only (SESSION_REQUIRED), or a plan limit applies. |
404 | Not found in your workspace. |
429 | Too many requests (RATE_LIMITED): wait the seconds Retry-After gives. |
Every code is explained in Errors.