---
title: "Update Connection"
method: POST
path: "/network/update"
tags: ["Network"]
---

# Update Connection

`POST /network/update`

## Request

- Base URL: `https://api.blog2social.com/rest/v1.0`
- URL: `https://api.blog2social.com/rest/v1.0/network/update`
- Auth: none declared
- TypeScript: <https://skmtc.dev/blog2social/apis/blog2social-api/docs/network/update/post.ts> (a function with typed inputs; its response is checked against the schema)

Get a link and session_token to redirect the user in order to re-authorize a network connection

## Request body

- object
  - `service_token` string, required: The token for your service
  - `access_token` string, required: The access token for the authenticated user.
  - `client_user_network_id` integer, required: The ID of the user's connected social media account authorization.
  - `network_id` integer, required: The ID of the social media network.
  - `network_type_id` integer, required: The network type ID: 0 = Profile, 1 = Page, 2 = Group.
  - `language` string: The language used for the authorization flow or form.

## Response `200`

OK

- object
  - `auth_link` string
  - `session_token` string
  - `expired_in` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Interal Server Error

---

[API](https://skmtc.dev/blog2social/apis/blog2social-api.md) - [All operations](https://skmtc.dev/blog2social/apis/blog2social-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blog2social/apis/blog2social-api/revisions/25eaecaa1acb?raw)
