client.projects.put

A method of the Projects endpoint.

put(project_id: int, *, name: str = None, description: str = None, note: str = None) Response

Update a project

API URL: PUT /projects/{project_id}

import civis
client = civis.APIClient()
response = client.projects.put(...)
Parameters:
project_idint
namestr, optional

The name of this project.

descriptionstr, optional

A description of the project.

notestr, optional

Notes for the project.

Returns:
civis.Response
  • idint

    The ID for this project.

  • authorcivis.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.

  • namestr

    The name of this project.

  • descriptionstr

    A description of the project.

  • usersList[civis.Response]

    Users who can see the project.

    • 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.

  • auto_share : bool

  • created_at : str (time)

  • updated_at : str (time)

  • tablesList[civis.Response]
    • schema : str

    • name : str

    • row_count : int

    • column_count : int

    • created_at : str (time)

    • updated_at : str (time)

  • surveysList[civis.Response]
    • idint

      The item’s ID.

    • created_at : str (time)

    • updated_at : str (time)

  • scriptsList[civis.Response]
    • idint

      The item’s ID.

    • created_at : str (time)

    • updated_at : str (time)

    • name : str

    • type : str

    • finished_at : str (time)

    • state : str

    • last_runcivis.Response
      • state : str

      • updated_at : str (time)

  • importsList[civis.Response]
    • idint

      The item’s ID.

    • created_at : str (time)

    • updated_at : str (time)

    • name : str

    • type : str

    • finished_at : str (time)

    • state : str

    • last_runcivis.Response
      • state : str

      • updated_at : str (time)

  • exportsList[civis.Response]
    • idint

      The item’s ID.

    • created_at : str (time)

    • updated_at : str (time)

    • name : str

    • type : str

    • finished_at : str (time)

    • state : str

    • last_runcivis.Response
      • state : str

      • updated_at : str (time)

  • modelsList[civis.Response]
    • idint

      The item’s ID.

    • created_at : str (time)

    • updated_at : str (time)

    • name : str

    • state : str

  • notebooksList[civis.Response]
    • idint

      The item’s ID.

    • created_at : str (time)

    • updated_at : str (time)

    • name : str

    • current_deployment_id : int

    • last_deploycivis.Response
      • state : str

      • updated_at : str (time)

  • servicesList[civis.Response]
    • idint

      The item’s ID.

    • created_at : str (time)

    • updated_at : str (time)

    • name : str

    • current_deployment_id : int

    • last_deploycivis.Response
      • state : str

      • updated_at : str (time)

  • workflowsList[civis.Response]
    • idint

      The item’s ID.

    • created_at : str (time)

    • updated_at : str (time)

    • name : str

    • state : str

    • last_executioncivis.Response
      • state : str

      • updated_at : str (time)

  • reportsList[civis.Response]
    • idint

      The item’s ID.

    • created_at : str (time)

    • updated_at : str (time)

    • name : str

    • state : str

  • script_templatesList[civis.Response]
    • idint

      The item’s ID.

    • created_at : str (time)

    • updated_at : str (time)

    • name : str

  • filesList[civis.Response]
    • idint

      The item’s ID.

    • created_at : str (time)

    • updated_at : str (time)

    • file_name : str

    • file_size : int

    • expired : bool

  • enhancementsList[civis.Response]
    • idint

      The item’s ID.

    • created_at : str (time)

    • updated_at : str (time)

    • name : str

    • last_runcivis.Response
      • state : str

      • updated_at : str (time)

  • projectsList[civis.Response]
    • idint

      The item’s ID.

    • created_at : str (time)

    • updated_at : str (time)

    • name : str

    • description : str

  • all_objectsList[civis.Response]
    • project_id : int

    • object_id : int

    • object_type : str

    • fco_type : str

    • sub_type : str

    • name : str

    • icon : str

    • author : str

    • updated_at : str (time)

    • auto_share : bool

    • archivedstr

      The archival status of the requested item(s).

    • hiddenbool

      The hidden status of the item.

    • my_permission_levelstr

      Your permission level on the object. One of “read”, “write”, or “manage”.

  • note : str

  • can_current_user_enable_auto_sharebool

    A flag for if the current user can enable auto-sharing mode for this project.

  • hiddenbool

    The hidden status of the item.

  • archivedstr

    The archival status of the requested item(s).

  • parent_projectcivis.Response
    • idint

      The parent project’s ID.

    • nameint

      The parent project’s name.

  • my_permission_levelstr

    Your permission level on the object. One of “read”, “write”, or “manage”.