# keystone.api.limits module

class keystone.api.limits.LimitModelResource

  Bases: `Resource`

  get()

    Retrieve enforcement model.

    GET /v3/limits/model

  methods: t.ClassVar[t.Collection[str] | None] = {'GET'}

    The methods this view is registered for. Uses the same default (`["GET", "HEAD", "OPTIONS"]`) as `route` and `add_url_rule` by default.

class keystone.api.limits.LimitResource

  Bases: `ResourceBase`

  collection_key: str = 'limits'
  delete(limit_id)

    Delete a limit.

    DELETE /v3/limits/{limit_id}

  get(limit_id)

    Retrieve an existing limit.

    GET /v3/limits/{limit_id}

  get_member_from_driver
  json_home_resource_status = 'experimental'
  member_key: str = 'limit'
  methods: t.ClassVar[t.Collection[str] | None] = {'DELETE', 'GET', 'PATCH'}

    The methods this view is registered for. Uses the same default (`["GET", "HEAD", "OPTIONS"]`) as `route` and `add_url_rule` by default.

  patch(limit_id)

    Update an existing limit.

    PATCH /v3/limits/{limit_id}

class keystone.api.limits.LimitsAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)

  Bases: `APIBase`

  resource_mapping = [(<class 'keystone.api.limits.LimitsResource'>, '/limits', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/limits', 'experimental', {})), (<class 'keystone.api.limits.LimitResource'>, '/limits/<string:limit_id>', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/limit', 'experimental', {'limit_id': 'https://docs.openstack.org/api/openstack-identity/3/param/limit_id'})), (<class 'keystone.api.limits.LimitModelResource'>, '/limits/model', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/limit_model', 'experimental', {}))]

class keystone.api.limits.LimitsResource

  Bases: `ResourceBase`

  collection_key: str = 'limits'
  get()

    List limits.

    GET /v3/limits

  get_member_from_driver
  json_home_resource_status = 'experimental'
  member_key: str = 'limit'
  methods: t.ClassVar[t.Collection[str] | None] = {'GET', 'POST'}

    The methods this view is registered for. Uses the same default (`["GET", "HEAD", "OPTIONS"]`) as `route` and `add_url_rule` by default.

  post()

    Create new limits.

    POST /v3/limits

this page last updated: 2026-04-01 20:09:17

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug