リファレンスHTTP APILinked accounts
Unlink one of the caller's accounts
DELETE
Revokes the link and writes an unlink_account receipt. Input from that Slack account is refused from then on, including input that was already waiting to be processed. API keys are refused.
Auth: cookie session only; no scope. Idempotency-Key: ignored.
cookieSessioncookie
__Host-werft_session<token>For the web console: the browser session cookie set by POST /v1/auth/login. It holds the scopes of the user's workspace role (owner: all; admin and member: all but sessions:recover). Requests other than GET must also send X-Requested-With: werft-web.
id*stringThe linked account's id.
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidX-Requested-With?"werft-web"Required with a cookie session: the literal werft-web.
Value in
"werft-web"Success
application/json- response
receipt_id*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidreceipt_status*stringValue in
"accepted""succeeded""failed""unknown"curl -X DELETE 'https://example.com/v1/linked-accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "receipt_id": "64d0a161-468e-472a-b00e-a06ee9ab7de7", "receipt_status": "accepted"}