Create a ticket
Sign in Sign up
Locker support Locker support
Results

No results found.

Home Locker Secrets Manager Developer tools Secrets - SDK NodeJS Usages Update an environment
Vietnamese English
Update an environment

Methods:

  • modifyEnvironment: edit an environment’s external url and description. You cannot change the environment’s name. Returns the updated environment

modifyEnvironment: (name: string, data: { externalUrl: string; description?: string }) => Promise<Environment>

Example

// Update an environment by name
const env = await locker.modifyEnvironment("name", {
  externalUrl: 'new value',
})
 
Was this page helpful?
No
Yes
Join Our Community