def METHOD_NAME(version):
    headers = {"Authorization": f"Bearer {token}"}
    headers["X-GoCD-Confirm"] = "true"
    headers["Accept"] = f"application/vnd.go.cd.v{version}+json"
    headers["Content-Type"] = "application/json"
    return headers