> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Archive a SaaS application user

> Archive (soft-delete) a SaaS application user. The user is removed from active listings but kept for historical reporting.

`saasApplicationUserId` is the identity ID returned by `getSaasById` → `identities[].id`.

<span className="badge-write">Key: Write</span><span className="badge-company">Scope: Company</span>


## OpenAPI

````yaml https://api.getprimo.com/openapi.json delete /saas-application-users/{saasApplicationUserId}
openapi: 3.1.1
info:
  title: Public API - BETA
  description: Read docs on https://docs.getprimo.com/
  version: '1.0'
  contact: {}
servers:
  - url: https://api.getprimo.com
security:
  - apikey: []
tags: []
paths:
  /saas-application-users/{saasApplicationUserId}:
    delete:
      tags:
        - Saas
      summary: Archive a SaaS application user
      description: >-
        Archive (soft-delete) a SaaS application user. The user is removed from
        active listings but kept for historical reporting.


        `saasApplicationUserId` is the identity ID returned by `getSaasById` →
        `identities[].id`.
      operationId: archiveSaasApplicationUser
      parameters:
        - name: saasApplicationUserId
          required: true
          in: path
          schema:
            type: string
      responses:
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SaasApplicationUserMutationResult_Output'
components:
  schemas:
    SaasApplicationUserMutationResult_Output:
      type: object
      properties:
        success:
          type: boolean
      required:
        - success
      additionalProperties: false
  securitySchemes:
    apikey:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: >-
        Use your Primo API key in the Authorization header as `Bearer
        <API_KEY>`.

````