Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - SetWorkingEnvironment
Sets the working environment as a property of the generated apiKey.
All subsequent calls to the WebServices will operate inside that environment.
This function can only be called if the user you have logged in with (using GenerateApiKey) is part of the top-level "Admin" environment.
Declaration
public string SetWorkingEnvironment ( string apiKey, string environmentName );
Arguments
Name |
Type |
Description |
---|---|---|
apiKey |
The API key previously generated by calling the GenerateApiKey function |
|
environmentName |
The name of the new environment in which to operate for all subsequent calls. |
Returns
An XML document with DocumentElement 'ok' (<ok/>), or an exception
No access when API Key locked
true
All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security