# keystone.api.regions module

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

  Bases: `APIBase`

  resource_mapping = [(<class 'keystone.api.regions.RegionsResource'>, '/regions', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/regions', 'stable', {})), (<class 'keystone.api.regions.RegionResource'>, '/regions/<string:region_id>', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/region', 'stable', {'region_id': 'https://docs.openstack.org/api/openstack-identity/3/param/region_id'}))]

class keystone.api.regions.RegionResource

  Bases: `ResourceBase`

  collection_key: str = 'regions'
  delete(region_id)
  get(region_id=None)
  member_key: str = 'region'
  methods: ClassVar[Collection[str] | None] = {'DELETE', 'GET', 'PATCH', 'PUT'}

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

  patch(region_id)
  put(region_id)

class keystone.api.regions.RegionsResource

  Bases: `ResourceBase`

  collection_key: str = 'regions'
  get()
  member_key: str = 'region'
  methods: ClassVar[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()

this page last updated: 2026-08-17 12:45:24

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