Skip to main content
Mutation

deleteProfileMediaAsset

Permanently deletes a file from the profile's media library and from every showreel it is in. Requires being signed in and able to edit the profile (an owner or admin member, or a member of a space that manages it).

Arguments

  • profileMediaAssetIdID!

    ID of the file.

Returns

MutationSuccess!

Example

mutation DeleteProfileMediaAsset($profileMediaAssetId: ID!) {
  deleteProfileMediaAsset(profileMediaAssetId: $profileMediaAssetId) {
    success
  }
}