Skip to main content
PUT
/
api2
/
v1
/
customFields
/
{fieldUid}
Edit custom field
curl --request PUT \
  --url https://cloud.memsource.com/web/api2/v1/customFields/{fieldUid} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "allowedEntities": [
    "PROJECT"
  ],
  "name": "<string>",
  "addOptions": [
    "<string>"
  ],
  "deprecateOptions": [
    {
      "uid": "<string>"
    }
  ],
  "description": "<string>",
  "removeOptions": [
    {
      "uid": "<string>"
    }
  ],
  "required": true,
  "undeprecateOptions": [
    {
      "uid": "<string>"
    }
  ]
}
'
{
  "allowedEntities": [
    "PROJECT"
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "createdBy": {
    "email": "<string>",
    "firstName": "<string>",
    "id": "<string>",
    "lastName": "<string>",
    "role": "SYS_ADMIN",
    "uid": "<string>",
    "userName": "<string>"
  },
  "description": "<string>",
  "lastModified": "2023-11-07T05:31:56Z",
  "lastModifiedBy": {
    "email": "<string>",
    "firstName": "<string>",
    "id": "<string>",
    "lastName": "<string>",
    "role": "SYS_ADMIN",
    "uid": "<string>",
    "userName": "<string>"
  },
  "name": "<string>",
  "options": {
    "remainingCount": 123,
    "truncatedOptions": [
      {
        "deprecated": true,
        "uid": "<string>",
        "used": true,
        "value": "<string>"
      }
    ]
  },
  "required": true,
  "requiredFrom": "2023-11-07T05:31:56Z",
  "type": "MULTI_SELECT",
  "uid": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://developers.phrase.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.

Path Parameters

fieldUid
string
required

Body

application/json
allowedEntities
enum<string>[]
required
Available options:
PROJECT,
JOB
name
string
required
Maximum string length: 255
addOptions
string[]
deprecateOptions
object[]
description
string
Maximum string length: 500
removeOptions
object[]
required
boolean
undeprecateOptions
object[]

Response

successful operation

allowedEntities
enum<string>[]
Available options:
PROJECT,
JOB
createdAt
string<date-time>
createdBy
object
description
string
lastModified
string<date-time>
lastModifiedBy
object
name
string
options
object
required
boolean
requiredFrom
string<date-time>
type
enum<string>
Available options:
MULTI_SELECT,
SINGLE_SELECT,
STRING,
NUMBER,
URL,
DATE
uid
string