service-accounts

Update a service account

Changed on

Updates the fields present in the request. Omitted fields keep their current values.

patch/orgs/{orgId}/service-accounts/{saId}

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Path parameters

orgIdinteger required
saIdinteger required

Request body

descriptionstring

New description. Omit to keep the current description, or send an empty string to clear it

namestring

New name. Omit to keep the current name. Lower-case letters, digits and single dashes, starting and ending with a letter or digit. Must be unique across all platform users, and reserved names are rejected

Response

OK

Changes

    • breaking

      the request property's maxLength was decreased to 39

    • breaking

      the request property's minLength was increased from 0 to 2

    • breaking

      added the pattern ^[a-z0-9]+(?:-[a-z0-9]+)*$ to the request property

    • info

      added the non-success response with the status