client.remote_hosts.put
A method of the Remote Hosts endpoint.
- put(id: int, name: str, type: str, url: str, description: str) Response
Replace all attributes of this Remote Host
API URL:
PUT /remote_hosts/{id}import civis client = civis.APIClient() response = client.remote_hosts.put(...)
- Parameters:
- idint
The ID of the remote host.
- namestr
The human readable name for the remote host.
- typestr
The type of remote host. One of: RemoteHostTypes::Bigquery, RemoteHostTypes::Bitbucket, RemoteHostTypes::GitSSH, RemoteHostTypes::Github, RemoteHostTypes::GoogleDoc, RemoteHostTypes::JDBC, RemoteHostTypes::Postgres, RemoteHostTypes::Redshift, RemoteHostTypes::S3Storage, and RemoteHostTypes::Salesforce
- urlstr
The URL for the remote host.
- descriptionstr
The description of the remote host.
- Returns:
civis.Response- idint
The ID of the remote host.
- namestr
The human readable name for the remote host.
- typestr
The type of remote host. One of: RemoteHostTypes::Bigquery, RemoteHostTypes::Bitbucket, RemoteHostTypes::GitSSH, RemoteHostTypes::Github, RemoteHostTypes::GoogleDoc, RemoteHostTypes::JDBC, RemoteHostTypes::Postgres, RemoteHostTypes::Redshift, RemoteHostTypes::S3Storage, and RemoteHostTypes::Salesforce
- urlstr
The URL for the remote host.
- descriptionstr
The description of the remote host.
- my_permission_levelstr
Your permission level on the object. One of “read”, “write”, or “manage”.
- user
civis.Response - idint
The ID of this user.
- namestr
This user’s name.
- usernamestr
This user’s username.
- initialsstr
This user’s initials.
- onlinebool
Whether this user is online.
- user
created_at : str (date-time)
updated_at : str (date-time)