Rename an artifact or change its audience
Sets the title, moves the audience between private and org, or both, and answers getArtifact’s body. The artifact’s owner may do either, and so may an organization owner on an artifact they can view; existing shares are left as they are. An audience copied from an external or editors session cannot be changed: 409 ARTIFACT_AUDIENCE_FIXED, and nothing is applied. 403 ARTIFACT_UPDATE_FORBIDDEN for anyone else who can view the artifact; 404 when the caller cannot view it; 409 ARTIFACT_CHANGED when its owner or audience changed while the request was decided, to be retried.
Authorization
bearerAuth In: header
Path Parameters
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/orgs/string/artifacts/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "title": "string", "audience": { "visibility": "private", "externalProvider": "string", "editorsAgentId": "string" }, "owner": { "userId": "string", "displayName": "string", "email": "string", "platform": "string" }, "viewerIsOwner": true, "originSessionId": "string", "latestRevision": -9007199254740991, "createdAt": "string", "updatedAt": "string", "revisions": [ { "number": -9007199254740991, "entry": "string", "entryMediaType": "string", "fileCount": -9007199254740991, "totalBytes": -9007199254740991, "producedBy": { "agentId": "string", "name": "string" }, "producedInSessionId": "string", "createdAt": "string" } ]}