DocumentationAPI reference

Rust · 0.1.0

Delete Linked Identity

DELETE /api/v1/users/{user}/linkedIdentities/{linkedIdentity}

UserService · UserService_DeleteLinkedIdentity

Protocol-derived reference. Authorization and instance policy still apply. Schema descriptions are inherited from the MIT-licensed application contract; examples here are not executed against a live server.

Access

Requires the named account's owner or an instance administrator. Field-specific and lifecycle restrictions still apply; owner access does not allow changing administrator-only fields.

Remove one sign-in association

Deletes the named association between this user and the provider. It does not delete the user's account or the provider configuration. Confirm that the user has another working sign-in method before removing an association they rely on.

Successful response

This operation has no resource to return. The Rust REST transport serializes protobuf Empty as HTTP 200 with JSON {}. The empty success-schema area in the generated contract is intentional, not missing request instructions.

Request

DeleteLinkedIdentity unlinks an SSO identity from a user.

DELETE/api/v1/users/{user}/linkedIdentities/{linkedIdentity}

Parameters

Name / locationType / requirementDescription
user
path
string
Required
The user id.
linkedIdentity
path
string
Required
The linkedIdentity id.

Request body

No request body is declared.

Responses

200 · OK

default · Default error response

application/json · Status

Complete operation definition

All declared constraints, media types and response details are retained below. Schema references link to their complete definitions.

Open JSON definition
{
  "tags": [
    "UserService"
  ],
  "description": "DeleteLinkedIdentity unlinks an SSO identity from a user.",
  "operationId": "UserService_DeleteLinkedIdentity",
  "parameters": [
    {
      "name": "user",
      "in": "path",
      "description": "The user id.",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "linkedIdentity",
      "in": "path",
      "description": "The linkedIdentity id.",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {}
    },
    "default": {
      "description": "Default error response",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Status"
          }
        }
      }
    }
  }
}