Skip to content

The managed Apache Flink service on the LakeSail platform is deprecated.

LakeSail is building Sail, an open-source computation framework in Rust to seamlessly integrate stream-processing, batch-processing, and compute-intensive (AI) workloads. The LakeSail platform will offer the managed solution for Sail. Existing PySpark and Flink SQL workloads can be migrated with ease. Please stay tuned and contact us if you are interested!

UpdateUser

Updates a user.

patch/api/org/v1/users/{user}

Path Parameters

  • user required

    A user ID.

    • Schema ResourceId
    • Type string
    • Minimum Length 1
    • Maximum Length 20
    • Pattern ^[A-Z0-9]+$

Query Parameters

This operation does not have query parameters.

Request Body

  • Schema UserUpdate
  • Type object
  • Properties
    • username optional

      The updated username of the user.

    • email optional

      The updated email address of the user.

      • Type string
    • firstName optional

      The updated first name of the user.

      • Type string
    • lastName optional

      The updated last name of the user.

      • Type string
    • displayName optional

      The updated display name of the user.

      • Type string

Responses

200 Response

The user was updated successfully.

  • Schema User
  • Type object
  • Properties
    • id required

      The user ID.

    • username required

      The username of the user.

    • email required

      The email address of the user.

      • Type string
    • firstName required

      The first name of the user.

      • Type string
    • lastName required

      The last name of the user.

      • Type string
    • displayName required

      The display name of the user.

      • Type string
    • createdAt required

      The time when the user was created.

      • Type string
      • Format date-time
    • updatedAt required

      The time when the user was last updated.

      • Type string
      • Format date-time

400 Response

The requested operation cannot be performed because the request is malformed.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string

401 Response

The requested operation cannot be performed because the request lacks valid authentication credentials.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string

403 Response

The identity is not allowed to perform the requested operation for the resource involved.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string

404 Response

The resource or dependent resources involved in the requested operation do not exist.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string

Default Response

The requested operation failed with an error.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string