• Simple Message Notification

smn
  1. Help Center
  2. Simple Message Notification
  3. API Reference
  4. APIs
  5. Topic Operations
  6. Deleting a Specified Topic Attribute

Deleting a Specified Topic Attribute

Description

  • API name

    DeleteTopicAttributeByName

  • Function

    Delete a specified topic attribute.

URI

  • URI format

    DELETE /v2/{project_id}/notifications/topics/{topic_urn}/attributes/{name}

  • Parameter description

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Project ID

    topic_urn

    Yes

    String

    Resource identifier of a topic, which is unique

    name

    Yes

    String

    Attribute name

    Only specified attribute names are supported. For details, see section Topic Attribute List.

Request

Request example
DELETE /v2/{project_id}/notifications/topics/{topic_urn}/attributes/access_policy

Response

  • Parameter description

    Parameter

    Type

    Description

    request_id

    String

    Request ID, which is unique

  • Response example
    {
        "request_id":"6837531fd3f54550927b930180a706bf"
    }

Returned Value

See section Returned Value.

Error Code

See section Error Code.