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.

POSTSaaShttps://{your-environment-id}.live.dynatrace.com/api/config/v1/applications/mobile/{applicationId}/keyUserActions/{actionName}
Environment ActiveGatehttps://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/applications/mobile/{applicationId}/keyUserActions/{actionName}

Authentication

To execute this request, you need an access token with WriteConfig scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

Parameter
Type
Description
In
Required
applicationId
string

The ID of the required application.

path
required
actionName
string

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

path
required

Response

Response codes

Code
Type
Description
200

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.

Element
Type
Description
name
string

The name of the key user action.

Response body JSON model

{
"name": "string"
}