--- id: close-access-request sidebar_label: Close Access Request hide_title: true hide_table_of_contents: true api: eJztW1lz2zgS/iso7oOTlC4rTrz2y5ZjJ1OeyuH1sXmwXRuIhCRMKIBLkHYUl//7ft0AKerwMU5qd2ZKk6qxTQKNPr/uBoGbyGYql4W25jCJdqM4tU7txbFy7lj9p1SuiFpRIUcu2j2P/HMRXrjoshUlysW5zmg+Zp+OtRPKJJnVphBMywnpZ+VhlijGshAyV8IVZfxVaCOkyDBJmxEeyUJ1xCEmSyMGSpROJZiR23I0tiXmVXQ2nEj1UMXTOFVCXSlQGRYqx1glZJbl9kqmnlxLlCbVXxW/Ot+XJlapmBel5vny2bgoMrfb7SagmZJuOk7qlF92Yjvp6sR0Zaa7Vy+7MZNqe/naga/u847YE4X9Co6udTEWn45/+ffewYfDj0KWxdjmupgK7dWhc5V0LsyFObViqE1Sq2FRZUyI2D87bAkjr/QIcmERcaJkHo+FxFxoCkNAGXPy6S7LXrpdcRRo7n08EBcLJryIOuLMec3s27ScGLE/trBaTsSdSlVciI3TXMZficTHcjJQ+UarsZ4SGwf22qRWJhtiUBaFNTRVfctsTtbaP/mXiK0ppDZEgSYUFTnD5Nzv08DeEVRQrX3+XsN4kMmWhn4W+koXWrmn2TMFMbImEcPPihgsShwemgz+R6seHjgxzO1EKDAFVTlb5rGqxGDxeJy3gLDDWUhU8jzaikZO1O5FtE+hJA4TZQrynyoCyX5h8rVOU8RSnJaJEndOECeFzAuVXETwxkSTYsdw1FrNFJawVKHBWcIM3U1q306yVD1ALK4GdcTpuP4TaOGneLZJ8awxXS0SaLCqGS/gHNqNwRPgQuW5zb26SVPwCChdj0bwJe8VR4h+7bAIeVLNJqNEUQ19nGckNnZdnteulujWv2SNZdq1oN3nYmhzoSRZdM6LvSTgmIGRIh/YGt69sck02r2JKliIdou8VK2IYger0yugWqpjhurub47w9iZy8VhNJP1WTDMFBLaD3xCz0SIwVzg3wDIik1OKV2aTWVmKtspfO4FBz9F5JJuJ4TDhDAAtQHcUKMzk4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jTBlKa8TmOCiNwHivOskks25HoqE3+rqFVntpmae77AhVfteeyP58QIciIhU8faevLinl67QY+6LDwhqos8kCYCH/MfweLKak/mY45em+jN83FhPo81HV6dmyY8tgmHXJkm4lDEfFD8H0KQ61ConI9KRNqT2bqmRdscEe1+r8FS2y/Z1m2UjszfewSG8c4kB5S6uXIJJ8g5bL+wZYELX/gQ85c5mfnxOTIsjaQTvk/mmRZs04JtjxMu8O8TGDkWYptkYBzwDrA/sz8jQWC0gY2e1krkZ/JdnkPpIwarTMVlu/6P3RkIht8Ev6DR9RhANVXe9WdBPpHoaVEWm1NWtWewqMFlflOL5LmgN89vvWdFCfWPJi9JvDfbWvlk0unPRuk7kOSPg7v/J8RbI81fEWlCLUxblMezyw1vf/zs8c85P/wjZ5ghFkURazP0Qk023oRSdXkH099Xcnx9iSGIuwn0arOLTU1CWSoLClYGq3isFe99ZEoWVPa2KGDshAEmyy0pU4UbUqMcY+hKEspxOdAp6PHufLWyv9/ja2pyV76GV3IDRmvFY/TSqiM+ox01MbyNWlE6X4J3v9nQk55AGUd8m+mg8mG6ZDMpDV3DANvlREhEygOOnmgXlx6P0ZkaVenCckVbz6rAiSKIROhwU5ZP3KchbaujY2/48wNrwZ1d2FOH6smK1KBQv1cLcqxSDjgaN9+xPEQbQdQeqzQjJ0EyQV2pGit8ODxdoghiJtwds/moGya5Lo0FEeoMvfu87Gx2em3ulPCceku4eIO4v6E1f5Nm0QdvZp8S1tc019c019c019c019c0H39NM7QCtIfTzejjBCFx6fed/C5fdTuy3uWjTMP7fChdxrQfiCE3N7SFTRtft/SYvYd2jmZ7WryPhAm8lc0bTV8VbaGGb6ft0yk3N2GvdPmjMG21+Rl+e/zesZeNLcujT/ShIBqEi6gTv/uay2s8pP/vRhf4hz9s5hMk3Val5zdR9S0DYzxd+u+/0Ai7Vw== sidebar_class_name: "post api-method" info_path: docs/api/beta/identitynow-beta-api custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Close Access Request' (close-access-request)" --- import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; import SchemaItem from "@theme/SchemaItem"; import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem";

Close Access Request

This endpoint closes access requests that are stuck in a pending state. It can be used throughout a request's lifecycle even after the approval state, unlike the [Cancel Access Request endpoint](https://developer.sailpoint.com/idn/api/v3/cancel-access-request/). A token with ORG_ADMIN authority is required. To find pending access requests with the UI, navigate to Search and use this query: status: Pending AND "Access Request". Use the Column Chooser to select 'Tracking Number', and use the 'Download' button to export a CSV containing the tracking numbers. To find pending access requests with the API, use the [List Account Activities endpoint](https://developer.sailpoint.com/idn/api/v3/list-account-activities/). Input the IDs from either source. To track the status of endpoint requests, navigate to Search and use this query: name:"Close Identity Requests". Search will include "Close Identity Requests Started" audits when requests are initiated and "Close Identity Requests Completed" audits when requests are completed. The completion audit will list the identity request IDs that finished in error. This API triggers the [Provisioning Completed event trigger](https://developer.sailpoint.com/idn/docs/event-triggers/triggers/provisioning-completed/) for each access request that is closed. ## Request

Body

required
Accepted - Returned if the request was successfully accepted into the system.
Schema
    object
Client Error - Returned if the request body is invalid.
Schema
    messages object[]
    Generic localized reason for error
  • Array [
  • ]
  • causes object[]
    Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
  • Array [
  • ]
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
Schema
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
Schema
    messages object[]
    Generic localized reason for error
  • Array [
  • ]
  • causes object[]
    Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
  • Array [
  • ]

An example of a 403 response object

Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
Schema
Internal Server Error - Returned if there is an unexpected error.
Schema
    messages object[]
    Generic localized reason for error
  • Array [
  • ]
  • causes object[]
    Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
  • Array [
  • ]

An example of a 500 response object