Update the asset name of a scope
There are cases where you may need to update a scope’s asset_name
, such as:
- The wrong asset was selected during the initial deployment.
- A pipeline update changed the asset name.
You can update the asset_name
using either a PATCH request to our API or the CLI.
Here's a request example for each method:
- CLI
- cURL
np scope patch --id 123
--body '{"asset_name": "new-asset-name"}'
curl -L -X PATCH 'https://api.nullplatform.com/scope/123' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"asset_name": "new-asset-name""
}'