/
Webservice Functions - SetWorkspaceAdministration

Information Classification: External Restricted.
See https://www.chili-publish.com/security

Webservice Functions - SetWorkspaceAdministration

Toggles workspace administration privileges for the current apiKey.
This privilege influences the possibility to manage the workspace in the CHILI Editor. Inside the editor, various items have settings referencing "Administrators". This means a user which has workspace administration privileges.
By toggling the privilege, you can have a single CHILI user (potentially with "Environment Administrator" privileges) to log in the webservices (using GenerateApiKey) for all of your own users.
NOTE: for backward compatibility, setting workspace administration to false also sets content administration to false. This can be switched on again using the SetContentAdministration function if applicable.

Declaration

public string SetWorkspaceAdministration ( string apiKey, bool allowWorkspaceAdministration );

Arguments

Name

Type

Description

apiKey

apiKey

The API key previously generated by calling the GenerateApiKey function

allowWorkspaceAdministration

bool

Set workspace administration to true or false

Returns

okOrException

An XML document with DocumentElement 'ok' (<ok/>), or an exception

No access when API Key locked

true

Related content

Logging in to the WebServices
Logging in to the WebServices
More like this
Embedding an Editor in your own portals
Embedding an Editor in your own portals
Read with this
PUT - system/apikey/workspaceadministration
PUT - system/apikey/workspaceadministration
More like this
API Key Settings
Read with this
Webservice Functions - SetContentAdministration
Webservice Functions - SetContentAdministration
More like this
ViewPreference Settings
ViewPreference Settings
Read with this

All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security