• Home
  • Dynatrace API
  • Configuration
  • RUM
  • Mobile and custom app
  • Key user actions
  • POST a key user action

Mobile and custom app API - POST a key user action

Adds a user action to the list of key user actions in the specified app.

The request consumes and produces an application/json payload.

POSTManaged https://{your-domain}/e/{your-environment-id}/api/config/v1/applications/mobile/{applicationId}/keyUserActions/{actionName}
SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/applications/mobile/{applicationId}/keyUserActions/{actionName}
Environment ActiveGate https://{your-activegate-domain}/e/{your-environment-id}/api/config/v1/applications/mobile/{applicationId}/keyUserActions/{actionName}

Authentication

To execute this request, you need an access token with Write configuration (WriteConfig) scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
applicationIdstring

The ID of the required application.

pathrequired
actionNamestring

The name of the user action to be marked as a key user action.

pathrequired

Response

Response codes

CodeTypeDescription
200KeyUserActionMobile

Success. The action has been marked as a key user action. The response contains its name.

404-

Failed. The specified entity doesn't exist.

409-

Failed. The max number of key user actions has been reached for the application.

Response body objects

The KeyUserActionMobile object

A key user action.

ElementTypeDescription
namestring

The name of the key user action.

Can be null.

Response body JSON model

json
{ "name": "string" }
Related topics
  • User actions

    Learn what user actions are and how they help you understand what users do with your application.