Function: settings.Create

Creates the Setting in the system and returns the id of the Setting. The Setting must not have an id. If an id is set, the creation is rejected and an empty id is returned.

Syntax

{
	"method": "settings.Create",
	"params": {
		"object": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<AdvGuid> Create( SettingRaw object );
public Task<Guid> CreateAsync(SettingRaw @object, CancellationToken ct = default);
create(object: SettingRaw): Promise<string>;

Parameters

object : SettingRaw

The Setting to create.

Result : guid

Id of the newly created Setting.

Remarks

This method requires API write access.