Reset a property's share link
Changed onMints a new share token for a property that is already shared by link (visibility link). The old link stops working at once. Requires edit rights on the property. A property that is not shared by link answers 400. Setting visibility to link or public in the first place stays a first-party action on createProperty and updateProperty.
Request
- Base URLhttps://api.purplegrain.com/api/v1
- URLhttps://api.purplegrain.com/api/v1/properties/{id}/reset-share-token
- AuthHTTP bearer
Path parameters
Response
The property with its new share_token and url.
Example response
{
"data": {
"type": "property",
"blocks": [
{
"name": "Racecourse block",
"hull": {
"type": "Polygon"
}
}
]
},
"_meta": {
"onboarding": {
"skill": "pg-onboarding@1"
}
}
}Changes
- info
added the optional property
//to the response with the status
- info
- warning
removed the optional property
from the response with the status (media type: application/json) - warning
removed the optional property
from the response with the status (media type: application/vnd.api+json) - warning
removed the optional property
//from the response with the status (media type: application/json) - warning
removed the optional property
//from the response with the status (media type: application/vnd.api+json) - warning
removed the optional property
from the response with the status (media type: application/json) - warning
removed the optional property
from the response with the status (media type: application/vnd.api+json) - info
added the optional property
//to the response with the status (media type: application/json) - info
added the optional property
//to the response with the status (media type: application/vnd.api+json) - info
added the optional property
///to the response with the status (media type: application/json) - info
added the optional property
///to the response with the status (media type: application/vnd.api+json) - info
added the optional property
///to the response with the status (media type: application/json) - info
added the optional property
///to the response with the status (media type: application/vnd.api+json)
- warning