Skip to content

Delete

//trimblecloud-fileservice/trimblecloud.fileservice/SpacesAPI/delete

delete

[JVM]
abstract fun delete(@NonNullspaceId: @NonNullUUID): CompletableFuture<Response<JobInfo>>

Delete an empty space by Id. Soft delete is performed.

Return

A Future that resolves to a Response object containing the result of the delete operation.

Parameters

JVM

spaceId- Space identifier.

Throws

TCPServiceException- If an error occurs due to API or network-related issues.
SDKClientException- If a client-side error occurs within the SDK.

[JVM]
abstract fun delete(@NonNullspaceId: @NonNullUUID, @NonNullparams: @NonNullDeleteSpaceParams): CompletableFuture<Response<JobInfo>>

Delete a non empty space by Id.

Return

A Future that resolves to a Response object containing the result of the delete operation.

Parameters

JVM

spaceId- Space identifier.
params- The parameters to delete the space.

Throws

TCPServiceException- If an error occurs due to API or network-related issues.
SDKClientException- If a client-side error occurs within the SDK.