Skip to main content
POST
/
shield_information_barriers
cURL
curl --request POST \
  --url https://api.box.com/2.0/shield_information_barriers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enterprise": {
    "id": "1910967",
    "type": "enterprise"
  }
}
'
{
  "id": "11446498",
  "type": "shield_information_barrier",
  "enterprise": {
    "id": "1910967",
    "type": "enterprise"
  },
  "status": "draft",
  "created_at": "2020-06-26T18:44:45.869Z",
  "created_by": {
    "id": "11446498",
    "type": "user"
  },
  "updated_at": "2020-07-26T18:44:45.869Z",
  "updated_by": {
    "id": "11446498",
    "type": "user"
  },
  "enabled_at": "2020-07-26T18:44:45.869Z",
  "enabled_by": {
    "id": "11446498",
    "type": "user"
  }
}
This endpoint is in the version 2024.0. No changes are required to continue using it. For more details, see Box API versioning.Learn more about Box SDK versioning strategy.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
enterprise
Enterprise · object
required

The type and id of enterprise this barrier is under.

Response

Returns a new shield information barrier object.

A standard representation of a shield information barrier object.

id
string

The unique identifier for the shield information barrier.

Example:

"11446498"

type
enum<string>

The type of the shield information barrier.

Available options:
shield_information_barrier
Example:

"shield_information_barrier"

enterprise
Enterprise · object

The type and id of enterprise this barrier is under.

status
enum<string>

Status of the shield information barrier.

Available options:
draft,
pending,
disabled,
enabled,
invalid
Example:

"draft"

created_at
string<date-time>

ISO date time string when this shield information barrier object was created.

Example:

"2020-06-26T18:44:45.869Z"

created_by
User (Base) · object

The user who created this shield information barrier.

updated_at
string<date-time>

ISO date time string when this shield information barrier was updated.

Example:

"2020-07-26T18:44:45.869Z"

updated_by
User (Base) · object

The user that updated this shield information barrier.

enabled_at
string<date-time>

ISO date time string when this shield information barrier was enabled.

Example:

"2020-07-26T18:44:45.869Z"

enabled_by
User (Base) · object

The user that enabled this shield information barrier.