English
cURL
curl --request PUT \ --url https://cloud.memsource.com/web/api2/v1/customFields/{fieldUid} \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "allowedEntities": [ "PROJECT" ], "required": true, "description": "<string>", "addOptions": [ "<string>" ], "removeOptions": [ { "uid": "<string>" } ], "deprecateOptions": [ { "uid": "<string>" } ], "undeprecateOptions": [ { "uid": "<string>" } ] } '
{ "uid": "<string>", "name": "<string>", "type": "MULTI_SELECT", "allowedEntities": [ "PROJECT" ], "options": { "truncatedOptions": [ { "uid": "<string>", "value": "<string>", "deprecated": true, "used": true } ], "remainingCount": 123 }, "createdAt": "2023-11-07T05:31:56Z", "createdBy": { "firstName": "<string>", "lastName": "<string>", "userName": "<string>", "email": "<string>", "role": "SYS_ADMIN", "id": "<string>", "uid": "<string>" }, "lastModified": "2023-11-07T05:31:56Z", "lastModifiedBy": { "firstName": "<string>", "lastName": "<string>", "userName": "<string>", "email": "<string>", "role": "SYS_ADMIN", "id": "<string>", "uid": "<string>" }, "requiredFrom": "2023-11-07T05:31:56Z", "required": true, "description": "<string>" }
255
PROJECT
JOB
500
Show child attributes
successful operation
MULTI_SELECT
SINGLE_SELECT
STRING
NUMBER
URL
DATE
Truncated list of options with size 5. To get all options use endpoint for getting options of the specific field
SYS_ADMIN
SYS_ADMIN_READ
ADMIN
PROJECT_MANAGER
LINGUIST
GUEST
SUBMITTER
PORTAL_MEMBER
Was this page helpful?