CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 04:34:57 GMT
content-type: text/html; charset=utf-8
cache-control: private
set-cookie: prov=e31cf0f9-72a5-4458-9b8c-3c9c5ffa0e5e; expires=Mon, 27 Jul 2026 04:34:57 GMT; domain=.stackexchange.com; path=/; secure; httponly
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=31536000; includeSubDomains
x-request-guid: 131bf027-2753-4e39-aea9-ff8466bd3ebf
x-providence-cookie: e31cf0f9-72a5-4458-9b8c-3c9c5ffa0e5e
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=RSjVuDPn850RYpv4IFOBO70gugMm699NSAXaREzFD80-1753590897-1.0.1.1-nOwoNHDiGuyUE2_5qHGHN3V3_wovzk1vEfepFCOW5ZUU.Tgpw2vNHw1JRaWqf4dvzRlvdhWTaFWKJqmqzjsJdmYGwWokCzTz2o2kYvMu4Ek; path=/; expires=Sun, 27-Jul-25 05:04:57 GMT; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: __cflb=02DiuEqtkS4jGaTk6jRLVowZ76Z4qeo49h4LLvk3PNUzg; SameSite=None; Secure; path=/; expires=Mon, 28-Jul-25 03:34:57 GMT; HttpOnly
set-cookie: _cfuvid=Bz7OX.itZv7.ubNiUE4KX1nz5zXatwDPSIdMetK2edI-1753590897760-0.0.1.1-604800000; path=/; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 96596d653d4fe9c3-BLR
content-encoding: gzip
Usage of /answers/{id}/accept [POST] -
Stack Exchange API
https://stackoverflow.com/oauth/dialog?client_id=1&key=U4DMV*8nvpm3EOpvf69Rxw((&redirect_uri=https%3a%2f%2fapi.stackexchange.com%2fdocs%2foauth_landing
U4DMV*8nvpm3EOpvf69Rxw((
Usage of /answers/{id}/accept POST
Discussion
Accepts an answer.
Use an access_token with write_access to accept. Accept votes can only be cast on answers to questions owned by the access_token's user, and only if no other answer is accepted.
To undo an accept use the /answers/{id}/accept/undo method.
This method returns the accepted answer.
Try It
about blog terms of use contact us feedback always welcome
site design / logo © 2025 Stack Exchange, Inc; user contributions licensed under CC BY-SA