Updates a target associated with a job. It ensures that both the job and target exist and that the user has access to them. Properties or relations not included in the request will be set to null.
Security
OAuth2
The request containing the updated target information.
The requested permissions with identification if a certain user has permission.
Gets or sets a value indicating whether the entity is a root taxonomy item.
- https://your-serverhttps://your-server/api/jobs/{id}/targets/{targetId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://your-server/api/jobs/{id}/targets/{targetId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"identifier": "string",
"cultures": [
"string"
],
"properties": {
"property1": {},
"property2": {}
},
"relations": {
"property1": {},
"property2": {}
},
"created_by": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"created_on": "2019-08-24T14:15:22Z",
"modified_by": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"modified_on": "2019-08-24T14:15:22Z",
"locked_by": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"locked_on": "2019-08-24T14:15:22Z",
"entitydefinition": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"copy": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"copyasync": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"permissions": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"requested_permissions": {
"property1": true,
"property2": true
},
"lifecycle": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"saved_selections": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"roles": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"annotations": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"is_root_taxonomy_item": true,
"is_path_root": true,
"inherits_security": true,
"is_system_owned": true,
"version": 0,
"full": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"modules": [
"string"
],
"self": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"property1": null,
"property2": null
}'