Skip to the page

Close workspace

Removes the workspace with every domain, key, email, contact and member in it. Only its owner can, signed in, by sending its name. It cannot be undone.

View as
opensend.workspace.close(input)
Needs the scopeworkspace:write
Signed-in person only
From a terminalopensend workspace close

This method answers a person who is signed in to the dashboard. A call with an API key is refused with 403.

Input

  • confirmstringRequired

    The name of the workspace, exactly as it is written. Up to 120 characters.

Returns

The call resolves to the answer, already parsed. A call the API refuses throws OpenSendError with the code and the message of the answer. SDK lists the errors of the client itself.

  • objectstring

    What kind of thing was removed.

    One oflistemailbroadcastaudiencetemplatetemplate_versiontemplate_starterautomationmetricsdomainapi_keywebhooklogworkspacemembermethodaccountinbound_emailwebhook_deliverycontactplancheckoutinvoiceask_answersuppressionchatautomation_runeventevent_receiptimportimport_inventorytopiccontact_propertyimageserver

  • idstring

    The id of what was removed.

  • deletedtrue

    Always true: it is gone for good.