authenticators_admin_endpoint_retrieve
GET/api/v3//authenticators/admin/endpoint/:uuid/
Viewset for Endpoint authenticator devices (for admins)
Request
Path Parameters
uuid uuidrequired
A UUID string identifying this Endpoint Device.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
pk uuid
name stringrequired
The human-readable name of this device.
Possible values: <= 64 characters
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
property name* any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
Authorization: http
name: authentiktype: httpscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/api/v3/authenticators/admin/endpoint/:uuid/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <TOKEN>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());