Storage Hosts

class Storage_Hosts(session_kwargs, client, return_type='raw')

Civis API /storage_hosts endpoint.

Methods

delete_shares_groups(id, group_id)

Revoke the permissions a group has on this object

delete_shares_users(id, user_id)

Revoke the permissions a user has on this object

get(id)

Get a storage host

list()

List the storage hosts

list_dependencies(id, *[, user_id])

List dependent objects for this object

list_shares(id)

List users and groups permissioned on this object

patch(id, *[, name, provider, bucket, ...])

Update some attributes of this storage host

post(provider, bucket, name, *[, s3_options])

Create a new storage host

put(id, name, provider, bucket, *[, s3_options])

Replace all attributes of this storage host

put_shares_groups(id, group_ids, ...[, ...])

Set the permissions groups has on this object

put_shares_users(id, user_ids, ...[, ...])

Set the permissions users have on this object

put_transfer(id, user_id, ...[, email_body, ...])

Transfer ownership of this object to another user