Unable to remove mapping with Mapping API

Hello, I am trying to remove mapping from saml_idp to user, but when following directions here, it is still not removing the mapping: Profile Mappings

To get the mappingId I first do a call /api/v1/mappings?sourceId={idpId}, then I use the mappingId from this call to do a POST /api/v1/mappings/{mappingId} with the body below:

{
“properties”: {
“mobilePhone”: {
“expression”: null,
“pushStatus”: null
}
}
}

I get status code 200 suggesting it was successful, but in the body of the response, I still see mobilePhone listed as an active mapping and in the tenant I still see the mapping active too. Example of response below.

“properties”: {
“firstName”: {
“expression”: “source.firstName”,
“pushStatus”: “PUSH”
},
“lastName”: {
“expression”: “source.lastName”,
“pushStatus”: “PUSH”
},
“email”: {
“expression”: “source.email”,
“pushStatus”: “PUSH”
},
“mobilePhone”: {
“expression”: “source.mobilePhone”,
“pushStatus”: “PUSH”
},
“login”: {
“expression”: “source.userName”,
“pushStatus”: “PUSH”
}
}

Are there any suggestions I can try to get the mapping removed?

Thank you for reaching out here on the Okta Developer Forum. We noticed that your question is more closely related to the Mappings API. To ensure you receive the most accurate and timely assistance, we recommend reposting your query on Okta’s Community at: Okta Help Center (Lightning)

Okta’s teams on the Community are better equipped to provide the comprehensive support and guidance you need as they have the specialised knowledge and expertise in the Mappings API.

We appreciate your understanding and are committed to ensuring you receive the best possible support. If you have any other questions or issues related to Okta’s developer tools and API’s, feel free to post them here, and we’ll be happy to assist!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.