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

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.

Response body JSON model

{
"name": "string"
}