dcloud errors projects updateChange a project: name, platform, retention, rate limit, client IP, alerts
Synopsis
dcloud errors projects update id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--nameOptionalstring
Display name, 1–64 characters (surrounding spaces trimmed)
Constraints: 1-64 chars
--platformOptionalenum
javascript-nextjs, javascript, node, python, go or other: the setup snippet shown
One of:
javascript-nextjs,javascript,node,python,go,other--retention-daysOptionalobject
Days an event is kept: 30, 60 or 90 (a new project has 30). Applies to events received from now on
Constraints: JSON
--rate-limit-per-minuteOptionalnumber
Events per minute the ingest accepts for the whole project, 1–1 000 000; null (a new project’s setting) leaves only the organization’s errors.events-per-minute quota. Over it the ingest answers 429
Constraints: integer, 1-1000000
May be null.
--store-client-ipOptionalboolean (--store-client-ip / --no-store-client-ip)
Keep the sender’s IP address when the SDK asks for it ({{auto}}). Off for a new project
--alert-emailOptionalboolean (--alert-email / --no-alert-email)
Default alerts: mail the organization’s owners and admins on a new issue or a regression. On for a new project
--alert-email-addressesOptionalarray of string
Further addresses the default alert mail goes to, at most 20; replaces the list (empty for a new project)
Constraints: email
--alert-environmentsOptionalarray of string
The default alerts fire only for events of these environments, at most 20; empty: any (a new project has none). Replaces the list
Constraints: 1-64 chars
--alert-webhook-urlOptionalstring
https URL the default alerts POST to on a new issue or a regression; an http URL is refused (400). null removes it (none for a new project)
Constraints: url
May be null.
Example
dcloud errors projects update idGenerated from the API description, the same one the API checks requests against and the CLI is built from.