File tree Expand file tree Collapse file tree
image-kit-java-core/src/main/kotlin/io/imagekit
models/namedtransformations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ import kotlin.jvm.optionals.getOrNull
1717 * **Note:**
1818 * - If another named transformation, or your account's upload
1919 * pre-transformation/post-transformation settings, reference this named transformation (via the
20- * `n-<name>` token), the request fails with a `409` error and the response body includes a
21- * `references` array describing where it is used . Remove those references first, then retry the
22- * deletion. This is a best-effort check and cannot detect references baked into your own
23- * application code or previously generated URLs.
20+ * `n-<name>` token), the request fails with a `409` error whose `message` describes what it is
21+ * referenced by . Remove those references first, then retry the deletion. This is a best-effort
22+ * check and cannot detect references baked into your own application code or previously generated
23+ * URLs.
2424 */
2525class NamedTransformationDeleteParams
2626private constructor (
Original file line number Diff line number Diff line change @@ -108,10 +108,10 @@ interface NamedTransformationServiceAsync {
108108 * **Note:**
109109 * - If another named transformation, or your account's upload
110110 * pre-transformation/post-transformation settings, reference this named transformation (via
111- * the `n-<name>` token), the request fails with a `409` error and the response body includes
112- * a `references` array describing where it is used . Remove those references first, then retry
113- * the deletion. This is a best-effort check and cannot detect references baked into your own
114- * application code or previously generated URLs.
111+ * the `n-<name>` token), the request fails with a `409` error whose `message` describes what
112+ * it is referenced by . Remove those references first, then retry the deletion. This is a
113+ * best-effort check and cannot detect references baked into your own application code or
114+ * previously generated URLs.
115115 */
116116 fun delete (id : String ): CompletableFuture <NamedTransformation > =
117117 delete(id, NamedTransformationDeleteParams .none())
Original file line number Diff line number Diff line change @@ -105,10 +105,10 @@ interface NamedTransformationService {
105105 * **Note:**
106106 * - If another named transformation, or your account's upload
107107 * pre-transformation/post-transformation settings, reference this named transformation (via
108- * the `n-<name>` token), the request fails with a `409` error and the response body includes
109- * a `references` array describing where it is used . Remove those references first, then retry
110- * the deletion. This is a best-effort check and cannot detect references baked into your own
111- * application code or previously generated URLs.
108+ * the `n-<name>` token), the request fails with a `409` error whose `message` describes what
109+ * it is referenced by . Remove those references first, then retry the deletion. This is a
110+ * best-effort check and cannot detect references baked into your own application code or
111+ * previously generated URLs.
112112 */
113113 fun delete (id : String ): NamedTransformation = delete(id, NamedTransformationDeleteParams .none())
114114
You can’t perform that action at this time.
0 commit comments