update_service
Update a Sciple service by providing its ID and the fields to change; change only supplied fields, leaving unspecified ones unchanged.
Instructions
Update a service. Only provided fields change.
Args: service_id: The service id to update. name: New display name. description: New description. kind: New kind — service|library|worker|job|frontend|mobile_app|other. language: New primary language. language_version: New language version. scm_provider_id: New SCM provider integration id. repository_url: New repository URL. default_branch: New default branch. lifecycle: New lifecycle — active|deprecated|archived. owner_group_id: Move ownership to a different group. clear_owner: Set True to remove the owner assignment. tier: New criticality tier — tier1|tier2|tier3. clear_tier: Set True to remove the tier assignment. runtime: New runtime identifier. tags: Replace the tags list entirely. links: Replace the links list entirely. add_environments: List of environment ids to associate with the service. remove_environments: List of environment ids to disassociate from the service.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| name | No | ||
| tags | No | ||
| tier | No | ||
| links | No | ||
| runtime | No | ||
| language | No | ||
| lifecycle | No | ||
| clear_tier | No | ||
| service_id | Yes | ||
| clear_owner | No | ||
| description | No | ||
| default_branch | No | ||
| owner_group_id | No | ||
| repository_url | No | ||
| scm_provider_id | No | ||
| add_environments | No | ||
| language_version | No | ||
| remove_environments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |