{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • General /
avatar image
0
Question by Romualdo Barros · Feb 06 at 10:31 AM · 20 Views developers

Seting a developer's status using API method doesn't works

As per Apigee Api docummentation the request for activate/inactivate the Status of a developer should be sent to https://api.enterprise.apigee.com/v1/organizations/{org_name}/developers/{developer_email} and only one parameter should be informde (action=inactive or action=acive).

The documentation also says that the response should have no content (no json) and just de code (204 or 400).

What happens is that when sending the request this way I get a response asking for more params ({ "code" : "developer.service.CreateFieldsAbsent", "message" : "Following elements are required: Email, User Name, First Name, Last Name", "contexts" : [ ] }).

So I decided to inform such params and I get the following json as response:

({ "apps" : [ "proj_DELETAVEL Star1" ], "companies" : [ ], "email" : "DELETAVELStar1@hotmail.com", "developerId" : "7d86b146-9b10-4a4e-b339-d31bb2eac0e3", "firstName" : "Spock", "lastName" : "Vulcano", "userName" : "DELETAVEL Star1", "organizationName" : "*****", "status" : "active", "attributes" : [ ], "createdAt" : 1612544093933, "createdBy" : "*****@*******", "lastModifiedAt" : 1612558388455, "lastModifiedBy" : "****@*****" })

and the "lastModifiedAt" param changes everytime a send a request.

All the facts above lead me to conclude the docummentation is wrong and the URL is not correct since it seems I am doing a request to another method of API.

Could anyone please help me with this?

What is the correct URL for request developer status change to inactive for example?

Thanks a lot.

Best Regards, Romualdo

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

2 Answers

  • Sort: 
avatar image
1
Best Answer

Answer by Romualdo Barros · Feb 06 at 06:41 PM

Thanks Priyadarshi.

Problem solved by adding the missing ?action=inactive on the post url.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by Priyadarshi Ajitav Jena · Feb 06 at 06:23 PM

I am not sure which link you are referring.

I did check the below link

https://apidocs.apigee.com/docs/developers/1/overview

and found

"Update an existing developer profile.

To add new values or update existing values, submit the new or updated portion of the developer profile along with the rest of the existing developer profile, even if no values are changing."

So, this expects in PUT you to send all the body you receive from the GET call and the one you want to update.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

52 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Api Developers Login - Force users to enter password rather than email login 2 Answers

How to filter the response data 1 Answer

How to change the function that occurs when clicking the Create App button? 1 Answer

Apigee direction on Proxy development 1 Answer

Not getting developer analytics 0 Answers

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Articles
  • Ideas
  • Badges