Resources
Update Resource
Partially update an existing resource. Only fields included in the request body are changed.
PATCH
Path Parameters
The numeric ID of the server.
The numeric ID of the resource to update.
Body Parameters
All fields are optional. Omitted fields are left unchanged.New URI for the resource. Any URI scheme is valid (e.g.
docs://, file:///, custom schemes).New display name.
New description.
New MIME type (e.g.
text/plain, text/markdown, application/json).New data source type. One of:
static, url, wp_query, callback.
When changing this, always send an updated data_source_config matching the new type.New configuration for the data source. Send as a JSON object. Shape depends on
data_source_type:staticurlwp_querycallbackNew URI template for parameterized resources (e.g.
file:///data/{id}.json).
