Skip to main content
POST
Update artifact

Restrictions

Usage

  • Only the provided fields change; omit title or team_id to keep them.
  • Requires can_edit on the artifact (the creator, any member of its owning team, or anyone who can manage its source session); otherwise the call fails with AccessDenied.
  • team_id: 0 (move to personal) is allowed only for the creator; a positive team_id requires the caller (for app_key calls, the key owner) to be a member of that team.
  • Returns the full artifact after the update.
  • Every call is recorded in the account audit log.

Authorizations

app_key
string
query
required

APP Key created in the Flashduty console under My → APP Key. Send it as the app_key query parameter or in the Fd-App-Key request header. Its effective access is the intersection of the key's permission scope and the creator's current role permissions. Keep it secret.

Body

application/json

Partial update of a gallery artifact. Only provided fields change.

artifact_id
string
required

Artifact ID (art_ prefix). Also the key of the public-share link.

title
string | null

New title. Leading and trailing spaces are trimmed; a blank value fails with InvalidParameter. Omit or send null to keep the current title.

team_id
integer<int64> | null

Transfer target. 0 moves the artifact to personal scope and only its creator may do that; a positive value moves it to that team, and the caller must be a member of the team; a negative value fails with InvalidParameter. Omit or send null to keep the current scope. The creator (person_id) never changes.

Response

Success

Standard response envelope used by every Flashduty public API. On success data contains the endpoint-specific payload and error is absent. On failure error is present and data is absent. request_id is always present and is also mirrored in the Flashcat-Request-Id response header.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

error
object

Error payload inside the response envelope. Present only on non-2xx responses.

data
object

One published artifact in the gallery. Time fields are Unix timestamps in milliseconds.