Skip to main content

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:

np scope patch --id 123 
--body '{"asset_name": "new-asset-name"}'