v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1460298233.0 KB

Deletes the workgroup with the specified name. The primary workgroup cannot be deleted.

post/#X-Amz-Target=AmazonAthena.DeleteWorkGroup

Headers

X-Amz-Target'AmazonAthena.DeleteWorkGroup' required

Request body

WorkGroupstring required

The unique name of the workgroup to delete.

RecursiveDeleteOptionboolean

The option to delete the workgroup and its contents even if the workgroup contains any named queries, query executions, or notebooks.

Response

Success

DeleteWorkGroupOutput required