POST
/
api2
/
v1
/
costCenters
Create cost center
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v1/costCenters \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "id": "<string>",
  "uid": "<string>",
  "name": "<string>",
  "createdBy": {
    "firstName": "<string>",
    "lastName": "<string>",
    "userName": "<string>",
    "email": "<string>",
    "role": "SYS_ADMIN",
    "id": "<string>",
    "uid": "<string>"
  }
}

Body

application/json

Response

201
application/json

Created

The response is of type object.