---
updatedAt: 2026-05-14T14:32:15.000Z
agentTools:
  projectIndex: https://docs.oysterhr.com/v0.1/llms.txt
---

# Manage Confidentiality and Intellectual Property Agreement

This endpoint allows you to include or exclude Confidentiality and Intellectual Property Agreement for a specific employment.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Endpoints",
    "version": "v0.1"
  },
  "components": {
    "securitySchemes": {
      "bearer_auth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "confidentiality": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ]
      }
    }
  },
  "paths": {
    "/v0.1/hiring/employments/{id}/confidentiality": {
      "put": {
        "summary": "Manage Confidentiality and Intellectual Property Agreement",
        "tags": [
          "Employments"
        ],
        "description": "This endpoint allows you to include or exclude Confidentiality and Intellectual Property Agreement for a specific employment.",
        "security": [
          {
            "bearer_auth": [
              "manage"
            ]
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Employment ID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully enabled employment confidentiality",
            "content": {
              "application/json": {
                "examples": {
                  "Successfully enabled employment confidentiality": {
                    "value": {
                      "data": {
                        "enabled": true
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/confidentiality"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "422": {
            "description": "Employment not in draft state",
            "content": {
              "application/json": {
                "examples": {
                  "Employment not in draft state": {
                    "value": {
                      "errors": [
                        {
                          "message": "Employment not in draft state."
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "enabled": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "enabled"
                ]
              },
              "examples": {
                "Successfully enabled employment confidentiality": {
                  "summary": "Successfully enabled employment confidentiality",
                  "value": {
                    "enabled": true
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.oysterhr.com",
      "description": "Production server"
    },
    {
      "url": "https://api-sandbox.oysterhr.com",
      "description": "Sandbox server"
    }
  ]
}
```