---
title: "POST /v1/{+name}:block"
method: POST
path: "/v1/{+name}:block"
tags: ["devices"]
---

# POST /v1/{+name}:block

`POST /v1/{+name}:block`

Blocks device from accessing user data

## Path parameters

- `name` string, required

## Request body

- GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest — Request message for blocking account on device.
  - `customer` string — Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/cloudidentity.md) · [All operations](https://skmtc.net/google/apis/cloudidentity/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/cloudidentity/revisions/179b4eeed5a2/schema)
