Provide organization suspensation in update method

Open
#1,106 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
api

Research direction

Start at the cf-java-client entry point for updating an organization and compare its supported fields with PATCH /v3/organizations/:guid, focusing on suspended versus the existing status property. Review any organization-update tests and verify done by confirming the client can represent and send the documented suspended option.

Written by the indexing model from the issue text.

Description

client enhancement triaged

I tried to find how could I suspend an organization, based on the suspend option in update rest api endpoint http://v3-apidocs.cloudfoundry.org/version/3.101.0/index.html#update-an-organization

Definition

PATCH /v3/organizations/:guid

Optional parameters
Name Type Description
name string Organization name
suspended boolean Whether an organization is suspended or not
metadata.labels label object Labels applied to the organization
metadata.annotations annotation object Annotations applied to the organization

Did I overlooked it or is it possible to include this feature in the roadmap of the cf-java-client project? I found some status property, but I am not sure that it should be the suspend option, which is boolean

Dominant language
Java
Stars
334
Forks
319
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudfoundry/cf-java-client

All issues in cloudfoundry/cf-java-client

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.