---
updatedAt: 2026-10-28T18:21:11.000Z
---

# Unblock a user from accessing an IdP

Unblocks a user from accessing an IdP.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's Enterprise Application Access API",
    "url": "https://techdocs.akamai.com/eaa-api/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Applications",
    "version": "v1"
  },
  "openapi": "3.0.0",
  "paths": {
    "/mgmt-pop/idpblockuser/idp/{idp_id}/unblock": {
      "post": {
        "description": "Unblocks a user from accessing an IdP.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Enterprise Application Access API",
          "url": "https://techdocs.akamai.com/eaa-api/reference/post-user-unblock-idp-access"
        },
        "operationId": "post-user-unblock-idp-access",
        "parameters": [
          {
            "description": "The Akamai contract identifier for your Enterprise Application Access product.",
            "in": "query",
            "name": "contractId",
            "required": true,
            "schema": {
              "example": "K-0N7RAK7",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/contract-id-query.yaml"
            }
          },
          {
            "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "user_list": [
                  {
                    "directory_id": "U59wJq3dQNuanDH8VMc1Gg",
                    "user_id": "UcxX2qmATBeyFELt2oRxNw"
                  }
                ]
              },
              "schema": {
                "additionalProperties": false,
                "description": "IdP user unblock request.",
                "properties": {
                  "user_list": {
                    "description": "IdP users to unblock.",
                    "items": {
                      "additionalProperties": false,
                      "description": "User properties for each user to unblock.",
                      "properties": {
                        "directory_id": {
                          "description": "The unique IdP directory ID.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "user_id": {
                          "description": "A unique ID for the user's account.",
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "user_id",
                        "directory_id"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "type": "object",
                "x-akamai": {
                  "file-path": "schemas/idp-user-block-unblock-request.yaml"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "failed": 0,
                  "failed_details": [],
                  "success": 1,
                  "total": 1
                },
                "schema": {
                  "additionalProperties": false,
                  "description": "IdP user block/unblock outcome.",
                  "properties": {
                    "failed": {
                      "description": "Count of failed user block/unblocks requested. Refer to `failed_details` for more information.",
                      "type": "integer"
                    },
                    "failed_details": {
                      "description": "Details about any failed block/unblock requests.",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "success": {
                      "description": "Count of successful user block/unblocks requested.",
                      "type": "integer"
                    },
                    "total": {
                      "description": "Count of total user block/unblocks requested.",
                      "type": "integer"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/idp-user-block-unblock-response.yaml"
                  }
                }
              }
            },
            "description": "Successful response."
          }
        },
        "summary": "Unblock a user from accessing an IdP",
        "tags": [
          "Unblock user"
        ]
      },
      "parameters": [
        {
          "description": "A unique identifier for the IdP.",
          "in": "path",
          "name": "idp_id",
          "required": true,
          "schema": {
            "example": "ojxkXzwyQZiBkoRee0XcnA",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/idp-id-path.yaml"
          }
        }
      ],
      "x-akamai": {
        "file-path": "paths/unblock.yaml",
        "path-info": "/mgmt-pop/idpblockuser/idp/{idp_id}/unblock"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/crux/v1"
    }
  ],
  "tags": [
    {
      "description": "Unblock users.",
      "name": "Unblock user"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "03-apps.yaml"
  },
  "x-readme": {
    "apply-tag-changes": true,
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "python",
      "node"
    ]
  }
}
```