Changes a symbology resource of your organization. Only the fields you send are changed.
Required role: ORG_EDITOR.
name and resourceData can't be emptied. The image is checked against the resource's type (the new resourceType, when sent). Global resources can't be changed (400).
What a symbology resource is
A reusable image for styles, kept in a library:
resourceType | Image | Used as |
|---|---|---|
SYMBOL | SVG, PNG, GIF or JPEG, 100 x 100 pixels at most | symbolData of a POINT style |
FILL_PATTERN | SVG, PNG, GIF or JPEG, 128 x 128 pixels at most | patternData of a POLYGON style |
LINE_PATTERN | SVG, PNG, GIF or JPEG, 128 x 128 pixels at most | linePatternData or borderPatternData of a style |
resourceData is the image as Base64. Styles keep a copy of the image: changing or deleting a resource doesn't change the styles.
Global resources (global: true) are provided by the platform to every organization: they are listed with yours, but can't be changed, deleted or tagged (400).
Organization
organization must be the organization of the access token, and the resource must belong to it (or be global); otherwise the request returns 404.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||