Dynatrace Service user management API

Manage service users within an account.

Business capability
Identity & Access Management BC-620.20

Operations 5

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

POST /iam/v1/accounts/{account-uuid}/service-users Create a service user · Creates a new service user in an account #
Ask an LLM
“How do I create a service user for an automation or CI pipeline?”
“Can I give a service user a description at creation?”
Tell an agent
Create a service user named {name} in account {account}.
Add service user {name} described as {description} to {account}.
GET /iam/v1/accounts/{account-uuid}/service-users List service users in an account · Get service users assigned to account #
Ask an LLM
“Which non-human service users exist in my account?”
“Can I page through service users?”
Tell an agent
List the service users on account {account}.
Show {size} service users per page for {account}.
PUT /iam/v1/accounts/{account-uuid}/service-users/{user-uuid} Rename or redescribe a service user · Updates name and description of service user in an account #
Ask an LLM
“Can I rename a service user after creating it?”
“Where do I change a service user's description?”
Tell an agent
Rename service user {user} in {account} to {name}.
Update service user {user} on {account} to name {name} and description {description}.
GET /iam/v1/accounts/{account-uuid}/service-users/{user-uuid} Get a service user · Get service user by uuid #
Ask an LLM
“What are the details of a specific service user?”
“Can I look up a service user by UUID?”
Tell an agent
Get service user {user} in account {account}.
Show the service user {user} on {account}.
DELETE /iam/v1/accounts/{account-uuid}/service-users/{user-uuid} Remove a service user · Removes service user #
Ask an LLM
“How do I delete a service user we no longer use?”
“Can a service user be removed from the account?”
Tell an agent destructive · confirm first
Remove service user {user} from account {account}.
Delete the service user {user} on {account}.

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/dynatrace:dynatrace-service-user-management-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

dynatrace-service-user-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dynatrace Account Management Service user management API
  description: The enterprise management API for Dynatrace SaaS enables automation of operational tasks related to user access and environment lifecycle management.
  version: '1.0'
  contact: {}
servers: []
tags:
- name: Service user management
  description: Manage service users within an account.
paths:
  /iam/v1/accounts/{account-uuid}/service-users:
    post:
      operationId: ServiceUsersController_createServiceUserForAccount
      parameters:
      - name: account-uuid
        required: true
        in: path
        description: "The ID of the required account. \n\n You can find the UUID on the **Account Management** > **Identity & access management** > **OAuth clients** page, during creation of an OAuth client."
        schema:
          type: string
      requestBody:
        required: true
        description: The JSON body of the request. Contains the name of the new service user.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceUserDto'
      responses:
        '201':
          description: Success. The new service user has been created. The response contains service user details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalServiceUserWithGroupUuidDto'
      security:
      - bearer: []
      summary: Creates a new service user in an account
      tags:
      - Service user management
      x-token-scopes:
      - account-idm-write
    get:
      operationId: ServiceUsersController_getServiceUsersFromAccount
      parameters:
      - name: account-uuid
        required: true
        in: path
        description: "The ID of the required account. \n\n You can find the UUID on the **Account Management** > **Identity & access management** > **OAuth clients** page, during creation of an OAuth client."
        schema:
          type: string
      - name: page
        required: false
        in: query
        description: The number of the requested page. Can be increased as long as **nextPageKey** is available in the response.
        schema:
          type: integer
      - name: page-size
        required: false
        in: query
        description: Defines the requested number of entries for the next page.
        schema:
          type: integer
      - name: page-key
        required: false
        in: query
        description: The cursor for the next page of results. You can find it in the **nextPageKey** field of the previous response.
        schema:
          type: string
      responses:
        '200':
          description: Success. Service users assigned to account fetched successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalServiceUsersPageDto'
      security:
      - bearer: []
      summary: Get service users assigned to account
      tags:
      - Service user management
      x-token-scopes:
      - account-idm-read
  /iam/v1/accounts/{account-uuid}/service-users/{user-uuid}:
    put:
      operationId: ServiceUsersController_updateServiceUserForAccount
      parameters:
      - name: account-uuid
        required: true
        in: path
        description: "The ID of the required account. \n\n You can find the UUID on the **Account Management** > **Identity & access management** > **OAuth clients** page, during creation of an OAuth client."
        schema:
          type: string
      - name: user-uuid
        required: true
        in: path
        description: The UUID of the required user.
        schema:
          type: string
      requestBody:
        required: true
        description: The JSON body of the request. Contains changed name and description of the service user.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceUserDto'
      responses:
        default:
          description: Success. The service user has been updated.
      security:
      - bearer: []
      summary: Updates name and description of service user in an account
      tags:
      - Service user management
      x-token-scopes:
      - account-idm-write
    get:
      operationId: ServiceUsersController_getServiceUser
      parameters:
      - name: account-uuid
        required: true
        in: path
        description: "The ID of the required account. \n\n You can find the UUID on the **Account Management** > **Identity & access management** > **OAuth clients** page, during creation of an OAuth client."
        schema:
          type: string
      - name: user-uuid
        required: true
        in: path
        description: The UUID of the required user.
        schema:
          type: string
      responses:
        '200':
          description: Success. The user has been fetched.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalServiceUserWithGroupUuidDto'
      security:
      - bearer: []
      summary: Get service user by uuid
      tags:
      - Service user management
      x-token-scopes:
      - account-idm-read
    delete:
      operationId: ServiceUsersController_deleteUser
      parameters:
      - name: account-uuid
        required: true
        in: path
        description: "The ID of the required account. \n\n You can find the UUID on the **Account Management** > **Identity & access management** > **OAuth clients** page, during creation of an OAuth client."
        schema:
          type: string
      - name: user-uuid
        required: true
        in: path
        description: The UUID of the required user.
        schema:
          type: string
      responses:
        '200':
          description: Success. The user has been deleted. Response doesn't have a body.
      security:
      - bearer: []
      summary: Removes service user
      tags:
      - Service user management
      x-token-scopes:
      - account-idm-write
components:
  schemas:
    ExternalServiceUsersPageDto:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/ExternalServiceUserDto'
        nextPageKey:
          type: string
          description: Next page key to be used in querying for next results page
        totalCount:
          type: number
          description: Total number of service users
      required:
      - results
      - totalCount
    ExternalServiceUserWithGroupUuidDto:
      type: object
      properties:
        uid:
          type: string
          description: UUID of service user
        email:
          type: string
          description: Email of service user
        name:
          type: string
          description: Name of service user
        surname:
          type: string
          description: Surname of service user
        description:
          type: string
          description: The description of the service user
        createdAt:
          type: string
          description: The date and time when the user was created in `2021-05-01T15:11:00Z` format.
        groupUuid:
          type: string
          description: Uuid of the group which enables assigning policy to service user
      required:
      - uid
      - email
      - name
      - createdAt
      - groupUuid
    ServiceUserDto:
      type: object
      properties:
        name:
          type: string
          description: The name of the new service user
        description:
          type: string
          description: The description of the new service user
      required:
      - name
    ExternalServiceUserDto:
      type: object
      properties:
        uid:
          type: string
          description: UUID of service user
        email:
          type: string
          description: Email of service user
        name:
          type: string
          description: Name of service user
        surname:
          type: string
          description: Surname of service user
        description:
          type: string
          description: The description of the service user
        createdAt:
          type: string
          description: The date and time when the user was created in `2021-05-01T15:11:00Z` format.
      required:
      - uid
      - email
      - name
      - createdAt
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
externalDocs:
  description: OpenAPI specification
  url: /openapi.json