dcloud errors projects update

Change a project: name, platform, retention, rate limit, client IP, alerts

IAM errors:UpdateProjectChanges state

Synopsis

dcloud errors projects update id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --nameOptional

    string

    Display name, 1–64 characters (surrounding spaces trimmed)

    Constraints: 1-64 chars

  • --platformOptional

    enum

    javascript-nextjs, javascript, node, python, go or other: the setup snippet shown

    One of: javascript-nextjs, javascript, node, python, go, other

  • --retention-daysOptional

    object

    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-minuteOptional

    number

    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-ipOptional

    boolean (--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-emailOptional

    boolean (--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-addressesOptional

    array of string

    Further addresses the default alert mail goes to, at most 20; replaces the list (empty for a new project)

    Constraints: email

  • --alert-environmentsOptional

    array 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-urlOptional

    string

    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 id

Generated from the API description, the same one the API checks requests against and the CLI is built from.