Update workspace asset
PATCH/api/v1/workspaces/{workspace_slug}/assets/{asset_id}/
Update generic asset after upload completion
Path Parameters
asset_id:requiredstringThe unique identifier of the asset.
workspace_slug:requiredstringThe workspace_slug represents the unique workspace identifier for a workspace in Plane. It can be found in the URL. For example, in the URL https://app.plane.so/my-team/projects/, the workspace slug is my-team.
Body Parameters
is_uploaded:optionalbooleanWhether the asset has been successfully uploaded
Scopes
assets:write
Update workspace asset
bash
curl -X PATCH \
"https://api.plane.so/api/v1/workspaces/my-workspace/assets/asset-uuid/" \
-H "X-API-Key: $PLANE_API_KEY" \
# Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"is_uploaded": true
}'python
import requests
response = requests.patch(
"https://api.plane.so/api/v1/workspaces/my-workspace/assets/asset-uuid/",
headers={"X-API-Key": "your-api-key"},
json={
"is_uploaded": true
}
)
print(response.status_code)javascript
const response = await fetch("https://api.plane.so/api/v1/workspaces/my-workspace/assets/asset-uuid/", {
method: "PATCH",
headers: {
"X-API-Key": "your-api-key",
"Content-Type": "application/json",
},
body: JSON.stringify({
is_uploaded: true,
}),
});
console.log(response.status);Response204
No response body.

