Skip to main content

sources_plex_redeem_token_authenticated_create

POST 

/api/v3//sources/plex/redeem_token_authenticated/

Redeem a plex token for an authenticated user, creating a connection

Request

Query Parameters

    slug string

Bodyrequired

    plex_tokenstringrequired

    Possible values: non-empty

Responses

No response body

Authorization: http

name: authentiktype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "/api/v3/sources/plex/redeem_token_authenticated/");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"plex_token\": \"string\"\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
/api/v3
Auth
Parameters
— query
Body required
{
  "plex_token": "string"
}