deleteResource( )


開発者プレビュー

このAPIは変更される可能性があります。プレビュー期間中、開発者からのフィードバックに基づいてバグ修正や新機能がリリースされる予定です。

Deletes a resource.

について deleteResource() function returns a Promise that is resolved when a resource is deleted.

Deleting a resource updates its status to DELETED.

You cannot delete a resource if it has booked sessions.

注釈

  • The Bookings app automatically creates a resource with a name and tag of value "business". This resource is used for the business's schedule and working hours and cannot be deleted.
  • You can have up to 135 active resources and an additional 135 deleted resources.
Permissions
Manage Bookings
Manage Bookings - all permissions
Learn more about app permissions.
メソッド宣言
コピー
メソッド・パラメータ
_idstringRequired

ID of the resource to delete.

リターン
Return Type:Promise<DeleteResourceResponse>
役に立ちましたか?
はい
いいえ