Edit a label

PUT https://api.filerobot.com/fbmjmuoeb/v5/labels/:label_uuid

This API endpoint is used to edit the configuration of the existing label

The body parameters are the same as in POST Create a new label.

Request Body

{"label"=>{"name"=>"Bag", "color"=>"#F2A43B", "shape"=>"pin", "is_pinned"=>true, "permissions"=>{"viewing"=>{"scope"=>"SK_ORG"}, "attaching"=>{"scope"=>"SK_ORG"}}, "uuid"=>"2e12b4b1-c80d-4e6b-953f-09b389512699", "sid"=>"#lbu8dnmns", "created_at"=>"2023-02-26T15:20:52Z", "updated_at"=>"2023-02-26T15:20:52Z", "i18n"=>nil, "assets_count"=>6}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
X-Filerobot-Keynull

RESPONSES

status: OK

{"status":"success","duration":0.25289416313171387,"api_version":{"hash":"b0d23b8fa1ae371a4966d57ae5237d65ced42d32","datetime":"2024-06-19T11:07:33+07:00","module":"elastic_v2"},"label":{"uuid":"2e12b4b1-c80d-4e6b-953f-09b389512699","name":"Bag","created_at":"2023-02-26T15:20:52Z","updated_at":"2024-06-19T16:37:48Z"}}