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 | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/applications/mobile/{applicationId}/keyUserActions/{actionName} |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/applications/mobile/{applicationId}/keyUserActions/{actionName} |
To execute this request, you need an access token with WriteConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
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 |
Code | Type | Description |
---|---|---|
200 | Key | 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. |
KeyUserActionMobile
objectA key user action.
Element | Type | Description |
---|---|---|
name | string | The name of the key user action. |
{"name": "string"}