Skip to main content

authenticators_admin_webauthn_partial_update

PATCH 

/api/v3//authenticators/admin/webauthn/:id/

Viewset for WebAuthn authenticator devices (for admins)

Request

Path Parameters

    id integerrequired

    A unique integer value identifying this WebAuthn Device.

Body

    namestring

    Possible values: non-empty and <= 200 characters

Responses

Schema
    pkID (integer)required
    namestringrequired

    Possible values: <= 200 characters

    created_ondate-timerequired
    device_type objectnullable

    WebAuthnDeviceType Serializer

    aaguiduuidrequired
    descriptionstringrequired
    aaguidstringrequired
    user object

    Stripped down user serializer to show relevant users for groups

    pkID (integer)required
    usernamestringrequired

    Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.

    Possible values: <= 150 characters, Value must match regular expression ^[\w.@+-]+$

    namestringrequired

    User's display name.

    is_activeActive (boolean)

    Designates whether this user should be treated as active. Unselect this instead of deleting accounts.

    last_logindate-timenullable
    emailemail

    Possible values: <= 254 characters

    attributes object
    property name*any
    uidstringrequired

Authorization: http

name: authentiktype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Patch, "/api/v3/authenticators/admin/webauthn/:id/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"name\": \"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
— pathrequired
Body
{
  "name": "string"
}