I used the below Request body for creating 2 custom attributes.
{{baseUrl}}/api/v1/meta/schemas/user/default → POST
{
“definitions”: {
“custom”: {
“id”: “#custom”,
“type”: “object”,
“properties”: {
“salesforceUserName”: {
“title”: “Salesforce username”,
“description”: “User’s username for Salesforce”,
“type”: “string”,
“required”: false,
“minLength”: 1,
“maxLength”: 20,
“permissions”: [
{
“principal”: “SELF”,
“action”: “READ_WRITE”
}
]
},
“salesforceUserNamenew”: {
“title”: “Salesforce username new”,
“description”: “User’s usernamenew for Salesforce”,
“type”: “string”,
“required”: false,
“minLength”: 1,
“maxLength”: 30,
“permissions”: [
{
“principal”: “SELF”,
“action”: “READ_WRITE”
}
]
}
},
“required”:
}
}
}
2 attributes got created.
After this action I used the following Request body to delete the above created APIs.They are not getting deleted.
{
“definitions”: {
“custom”: {
“id”: “#custom”,
“type”: “object”,
“properties”: {
},
“required”:
}
}
}
Can you pls tell me what is the step to delete the custom attributes.