-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
In dev, trying to update this object:
717f514d-f375-4e25-aff9-07d2af3052e2
The object looks like this:
{
"ssoId": "",
"createdAt": "2018-09-27T14:37:55.000Z",
"selfRegister": false,
"createdBy": "8547899",
"domain": "",
"name": "Zurich - Parent Group",
"privateGroup": true,
"id": "717f514d-f375-4e25-aff9-07d2af3052e2",
"oldId": "20000145",
"status": "active"
}
There is no description
property. If i omit it for a PUT, i get a 400 error:
[1] "description" is not allowed to be empty
If i force it to be an empty string, i get the same error.
This is the cURL i'm trying to use:
curl --location --request PUT 'https://api.topcoder-dev.com/v5/groups/041e0be4-7599-402f-989b-b2873b0bed7e' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer [DEV_GROUPS_M2M]' \
--data-raw '{ selfRegister: false,
domain: 'zurich-competitors',
name: 'Zurich - Competitors',
privateGroup: true,
oldId: '20000226',
status: 'active'}'
In this case, I also stripped ssoId
, it wouldn't let me write that back as empty, but it's empty as it is now.
Metadata
Metadata
Assignees
Labels
No labels