Update project resource

http
PUT /projects/{project_reference}/resources/{resource_id}

Change the pattern, description or title of a structured project resource, where an omitted field keeps its value; returns the updated project resource source document. Requires project.files.write.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
resource_idpathYes
source_target_kindquery
target_branch_idquery

Request body

FieldTypeRequiredDescription
patternstringNew URI pattern. Omit it to keep the current pattern.
descriptionstringNew description. Omit it to keep the current description.
titlestring,nullNew display title. Omit it to keep the title; null clears it.

Responses

StatusDescription
200Updated resource document
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict