doc-exports/docs/smn/api-ref/smn_api_51009.html
Zaoxu, Li 152a7d9381 SMN API DOC
Reviewed-by: Bobkova, Natalia <natalia.bobkova@t-systems.com>
Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com>
Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
2024-06-20 15:01:38 +00:00

6.3 KiB

Deleting All Topic Policies

Description

  • API name

    DeleteTopicAttributes

  • Function

    Delete all topic policies.

URI

  • URI format

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

  • Parameter description

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Project ID

    See Obtaining a Project ID.

    topic_urn

    Yes

    String

    Unique resource ID of a topic. You can obtain it by referring to Querying Topics.

Request

Example request
DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/{topic_urn}/attributes 

Response

  • Parameter description

    Parameter

    Type

    Description

    request_id

    String

    Request ID, which is unique

  • Example response
    {
        "request_id": "6837531fd3f54550927b930180a706bf"
    }

Returned Value

See Returned Value.

Error Codes

See Error Codes.