Parameters for the putSecurity operation.

interface PutSecurityParams {
    admins?: SecurityObject;
    cloudant?: JsonObject;
    couchdbAuthOnly?: boolean;
    db: string;
    headers?: OutgoingHttpHeaders;
    members?: SecurityObject;
}

Properties

Schema for names and roles to map to a database permission.

cloudant?: JsonObject

Database permissions for Cloudant users and/or API keys.

couchdbAuthOnly?: boolean

Manage permissions using the _users database only.

db: string

Path parameter to specify the database name.

headers?: OutgoingHttpHeaders
members?: SecurityObject

Schema for names and roles to map to a database permission.

Generated using TypeDoc