decision_doc_withdraw
tools/call
Take back an open decision doc you asked, when its questions no longer matter. Answers already sent stay readable.
Scopes
request:approvals
Only docs this key asked. A doc is addressed to the person who made the key and the people named in readers; only they read and answer it. A doc that names files (visuals or posters) also needs link:files: decision_doc_create attaches them itself.
Inputs
- docIdstringRequired
- The docId decision_doc_create returned
- idempotencyKeystringRequired
- A retry key you choose, 8 to 200 characters; the same call sent again with it changes nothing new
Returns
The doc as it is now, withdrawn unless it was already closed. A call returns content[0].text with the JSON result and structuredContent.result with the same value.
Listed when
The key has request:approvals and decision docs are open for the organization.