Create Tag (POST)

Creates a tag with a unique name in the application that is referenced by the applicationId parameter.

Roles

Users in the following roles are authorized to perform this operation:

  • mfpadmin
  • mfpdeployer
  • mfpoperator

Method

POST

Path

/management-apis/2.0/runtimes/runtime-name/notifications/applications/application-name/tags

Example

https://www.example.com/mfpadmin/management-apis/2.0/runtimes/myruntime/notifications/applications/myapplication/tags

Path Parameters

runtime-name
The name of the runtime. This is the context root of the runtime web application, without the leading slash.
application-name
The name of the application.

Consumes

application/json

Produces

application/json, application/xml, text/xml

Payload

JSON Example

{
  "description" : "This is a sample tag.",
  "name" : "SampleTag"
}
}

Payload Properties

The payload has the following properties:
description
The description of the tag.
name
The name of the tag.

Errors

400
The request was not understood by the push server.
403
The user is not authorized to call this service.
404
The corresponding runtime or application is not found or not running.
500
An internal error occurred.