Policies
Update policy
Updates a policy.
x-api-key<token>
In: header
Path Parameters
organizationIdstring
Format
uuidpolicyIdstring
Format
uuidid?string
Format
uuiddateCreated?integer
dateUpdated?integer
type?string
Value in
"aiPolicy" | "cookiePolicy" | "privacyPolicy"name?string
Length
length <= 256status?string
Value in
"active" | "draft" | "archived"description?string
organizationId?string
Format
uuidanswers?
html?string
associatedProjects?array<string>
includeCookies?boolean
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/policies/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"dateCreated": 0,
"dateUpdated": 0,
"type": "aiPolicy",
"name": "string",
"status": "active",
"description": "string",
"organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
"answers": [
{
"questionId": "string",
"answer": "string"
}
],
"html": "string",
"associatedProjects": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"includeCookies": true
}{
"statusCode": 404,
"error": "Not Found",
"message": "string"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Forbidden"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "Forbidden"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Not Found"
}{
"statusCode": 422,
"error": "Unprocessable Entity",
"message": "string"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "Internal Server Error"
}