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.

POST
  • Managed 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}

Authentication

To execute this request, you need the Write configuration (WriteConfig) permission assigned to your API token. 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 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

The KeyUserActionMobile object

Element Type Description
name string

The name of the key use action.