Okta User Type API

The User Type API from Okta — 2 operation(s) for user type.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/meta/types/user List user types · List user types #
Ask an LLM
“Which user types are defined in my org?”
“Can I see the default user type?”
Tell an agent
List all user types.
Show every user type and its ID.
POST /api/v1/meta/types/user Create a user type · Create user type #
Ask an LLM
“How do I create a separate user type for contractors?”
“What fields do I need for a new user type?”
Tell an agent
Create user type {name} displayed as {displayName}.
Add a new user type {name} described as {description}.
GET /api/v1/meta/types/user/{typeId} Get a user type · Get user type #
Ask an LLM
“What are the details of one user type?”
“Can I look up a user type by ID?”
Tell an agent
Get user type {typeId}.
Show user type {typeId}'s name and description.
PUT /api/v1/meta/types/user/{typeId} Replace a user type entirely · Replace user type #
Ask an LLM
“Can I overwrite a user type's whole definition with PUT?”
“Which call fully replaces a user type?”
Tell an agent
Replace user type {typeId} with display name {displayName} and description {description}.
Fully replace user type {typeId}, naming it {name}.
POST /api/v1/meta/types/user/{typeId} Partially update a user type · Update user type #
Ask an LLM
“How do I change just a user type's display name?”
“Can I edit one field of a user type without resending all of it?”
Tell an agent
Change only the display name of user type {typeId} to {displayName}.
Patch user type {typeId}'s description to {description}.
DELETE /api/v1/meta/types/user/{typeId} Delete a user type · Delete user type #
Ask an LLM
“How do I remove a user type I created?”
“Can I delete a user type that is not the default?”
Tell an agent destructive · confirm first
Delete user type {typeId}.
Remove the {typeId} user type.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/okta:okta-user-type-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

okta-user-type-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Okta User Type API
  description: Allows customers to easily access the Okta API
  termsOfService: https://developer.okta.com/terms/
  contact:
    name: Okta Developer Team
    url: https://developer.okta.com/
    email: devex-public@okta.com
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 2.16.0
servers:
- url: https://your-subdomain.okta.com/
tags:
- name: User Type
paths:
  /api/v1/meta/types/user:
    get:
      tags:
      - User Type
      description: Fetches all User Types in your org
      operationId: listUserTypes
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserType'
      security:
      - api_token: []
      summary: List user types
      x-summary-source: derived
    post:
      tags:
      - User Type
      description: Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.
      operationId: createUserType
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserType'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserType'
      security:
      - api_token: []
      x-codegen-request-body-name: userType
      summary: Create user type
      x-summary-source: derived
  /api/v1/meta/types/user/{typeId}:
    get:
      tags:
      - User Type
      description: Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.
      operationId: getUserType
      parameters:
      - name: typeId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserType'
      security:
      - api_token: []
      summary: Get user type
      x-summary-source: derived
    put:
      tags:
      - User Type
      description: Replace an existing User Type
      operationId: replaceUserType
      parameters:
      - name: typeId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserType'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserType'
      security:
      - api_token: []
      x-codegen-request-body-name: userType
      summary: Replace user type
      x-summary-source: derived
    post:
      tags:
      - User Type
      description: Updates an existing User Type
      operationId: updateUserType
      parameters:
      - name: typeId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserType'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserType'
      security:
      - api_token: []
      x-codegen-request-body-name: userType
      summary: Update user type
      x-summary-source: derived
    delete:
      tags:
      - User Type
      description: Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users
      operationId: deleteUserType
      parameters:
      - name: typeId
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
          content: {}
      security:
      - api_token: []
      summary: Delete user type
      x-summary-source: derived
components:
  schemas:
    UserType:
      type: object
      properties:
        _links:
          type: object
          additionalProperties:
            type: object
            properties: {}
          readOnly: true
        created:
          type: string
          format: date-time
          readOnly: true
        createdBy:
          type: string
          readOnly: true
        default:
          type: boolean
          readOnly: true
        description:
          type: string
        displayName:
          type: string
        id:
          type: string
        lastUpdated:
          type: string
          format: date-time
          readOnly: true
        lastUpdatedBy:
          type: string
          readOnly: true
        name:
          type: string
      x-okta-crud:
      - alias: create
        arguments:
        - dest: userType
          self: true
        operationId: createUserType
      - alias: update
        arguments:
        - dest: typeId
          src: id
        - dest: userType
          self: true
        operationId: updateUserType
      - alias: read
        arguments:
        - dest: typeId
          src: id
        operationId: getUserType
      - alias: delete
        arguments:
        - dest: typeId
          src: id
        operationId: deleteUserType
      x-okta-operations:
      - alias: replaceUserType
        arguments:
        - dest: roleId
          src: id
        operationId: replaceUserType
      x-okta-tags:
      - UserType
  securitySchemes:
    api_token:
      type: apiKey
      description: SSWS {API Token}
      name: Authorization
      in: header
externalDocs:
  description: Find more info here
  url: https://developer.okta.com/docs/api/getting_started/design_principles.html
x-provenance:
  method: harvested
  publisher: Okta
  source: https://raw.githubusercontent.com/okta/okta-management-openapi-spec/HEAD/dist/legacy-v1-swagger/spec.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)