Setting the Visibility of a Table

The SetTableVisibility function sets the visibility of a table. There are three different values for table visibility: Public, PublicUnlisted, or Private.

Permission Description
Public Visible and usable to the entire public
PublicUnlisted Hidden in the accounting interface but still usable for mapping
Private Protected, hidden and only usable to users explicitly given permissions
GET/Remote/SetTableVisibility

REQUEST PARAMETERS

ParameterTypeDescriptionRequired
mluser string Username - always in email form.
mltoken -or- mlpass string MapLarge generated auth token -or- the password for the mluser account.
longTableId string Long table name: account/tablename/version
visibility string Visibility of table: Public, PublicUnlisted, or Private. Visibility values are case sensitive.

EXAMPLE REQUEST

https://my.maplarge.com/Remote/SetTableVisibility?mluser=user@domain.com&mltoken=token&longTableId=test/testtableA5345/635561654380250838&visibility=Unlisted

*Either a token or password can be used in any request where authentication is required.

RETURNS

{
    {
    "id": "6ac324184c4046c0af313e02bb1d2683",
    "hash": null,
    "success": true,
    "isCached": false,
    "authorized": true,
    "errors": [],
    "timestamp": 1420568654,
    "data": null,
    "visibility": "PublicUnlisted"
}

ACTION SPECIFIC RESPONSE VALUES

ParameterTypeDescription
visibility string Values: Private, PublicUnlisted, Public