Community articleDeleting profiles codes using Administration API
Added by IBM contributorIBM on July 1, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.

To delete a profile, send a delete request to the appropriate resource of the Administration API.
 

Input

None.

Output

None.

 

 

Input
Method URI Description
DELETE /profiles/admin/atom/codes/Country.do
DELETE /profiles/admin/atom/codes/Department.do
DELETE /profiles/admin/atom/codes/EmployeeType.do
DELETE /profiles/admin/atom/codes/Organization.do
DELETE /profiles/admin/atom/codes/WorkLocation.do
Content Type: application/atom+xml
Name Type Optional Description
codeId
string No Unique ID that represents a specific code. This value is specified in the <id> such as <id>tag:profiles.ibm.com,2006:com.ibm.snx_profiles.codes.country:ad</id>
Output
Code Description
200
OK. Indicates that the request was received successfully.
400
Bad Request. Returned when no matching user record can be found.
401
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.
404
Not Found.