// Projects

Replace script module assignments

Set the full list of script modules imported by a project.

PUT/api/project/script-modules

Description

Replaces the project's script module assignments. Modules not present in scriptModuleIds get unimported; new ones get imported.

Parameters

NameInTypeRequiredDescription
projectId body string yes ID of the project.
scriptModuleIds body array<string> no IDs of every script module the project should import.

Errors

StatusMeaning
400 Invalid projectId.
401 Missing or invalid Basic auth credentials, or the service account lacks the required role.