Skip to main content

Update a component

Log in to add to favourites
PUT/api/management/projects/{projectId}/components/{componentId}

Parameters

NameParameter typeTypeDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management consolemovieDbtrue
componentIdpathstringThe component identifier.true

Responses

HTTP status codeReasonModel
200SuccessComponent
401UnauthorizedError
404Component not foundError
409Resource already existsError
422Validation errorError
500Internal server errorError

Examples

JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
PUT: /api/management/projects/movieDb/components/movieRole { "id": "movieRole", "projectId": "website", "name": { "en-GB": "Movie Role" }, "description": { "en-GB": "A Persons role within a movie" }, "fields": [ { "id": "person", "name": { "en-GB": "Person" }, "dataType": "object", "dataFormat": "entry", "description": { "en-GB": "The actor or crew member" }, "default": {}, "validations": { "allowedContentTypes": { "contentTypes": ["person"] } }, "editor": { "id": "entry", "instructions": { "en-GB": "" }, "properties": { "placeholderText": { "en-GB": "" } } } }, { "id": "role", "name": { "en-GB": "Role" }, "dataType": "String", "dataFormat": null, "description": {}, "default": {}, "validations": null, "editor": null } ], "workflowId": "ContensisDefault", "dataFormat": "component", }

Still need help?

New support request