Skip to content
This repository was archived by the owner on Jan 12, 2021. It is now read-only.

Organizations

Johnathan Ludwig edited this page Jan 27, 2015 · 1 revision

Actions

List

List your organization's information.

Example

api.organizations.list
> [
    {
        "id" => 1,
      "name" => "Test",
    }
  ]

Show

Show your organizations information. Same as List just returns the object instead of an array with the object.

Parameters

Name Type Description
id integer Required. The ID of your organization.

Example

api.organizations.show(id: 1)
> {
      "id" => 1,
    "name" => "Test"
  }

Update

Update your organizations name

Parameters

Name Type Description
id integer Required. The ID of your organization.
name string Required. The new name for your organization.

Example

api.organizations.update(id: 1, name: 'Updated Name')
> {
      "id" => 1,
    "name" => "Updated Name"
  }

Clone this wiki locally