delete_user

MQ.Client.delete_user(**kwargs)

Deletes an ActiveMQ user.

See also: AWS API Documentation

Request Syntax

response = client.delete_user(
    BrokerId='string',
    Username='string'
)
Parameters
  • BrokerId (string) --

    [REQUIRED]

    The unique ID that Amazon MQ generates for the broker.

  • Username (string) --

    [REQUIRED]

    The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

    HTTP Status Code 200: OK.

Exceptions

  • MQ.Client.exceptions.NotFoundException
  • MQ.Client.exceptions.BadRequestException
  • MQ.Client.exceptions.InternalServerErrorException
  • MQ.Client.exceptions.ForbiddenException