API ReferenceHealth and contract
← MapScale APIPATCH
/v1/datasets/{id}Rename a dataset or change its visibility
Public operational checks and the OpenAPI document.
Request body
Required · application/json
Responses
200Datasetapplication/json
400Malformed body, or neither `name` nor `public` given.application/json
401mapscale/effect-api/UnauthorizedFailureapplication/json
403Publishable keys cannot manage datasets. | mapscale/effect-api/ForbiddenFailureapplication/json
404No such dataset in this account.application/json
422The name is blank.application/json
429mapscale/effect-api/RateLimitedFailureapplication/json
500The dataset could not be updated. | mapscale/effect-api/MiddlewareInternalFailureapplication/json
503mapscale/effect-api/UpstreamUnavailableFailureapplication/json