Domains

Update domain

PATCH
/organizations/{organizationId}/projects/{projectId}/domains/{domainId}

Updates a domain in a project.

Authorization

ApiKeyAuth
headerx-api-key<token>

Path Parameters

organizationId*string
Formatuuid
projectId*string
Formatuuid
domainId*string
Formatuuid

Request Body

application/json
  1. body
name?string
Lengthlength <= 1024
domain?|string

Response Body

Default Response

application/json
  1. response
id*string
Formatuuid
organizationId*string
Formatuuid
projectId*string
Formatuuid
name?string
domain*|string
source?string
Default"privacy"
Value in"privacy""trust"
dateCreated*integer
dateUpdated*integer
Example Request
curl -X PATCH 'https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/domains/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",  "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",  "name": "string",  "domain": "localhost",  "source": "privacy",  "dateCreated": 0,  "dateUpdated": 0}