GET /api/v2/scc_accounts
List all scc_accounts

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

search
optional

filter results

Validations:

  • String

order
optional

Sort field and order, eg. ‘id DESC’

Validations:

  • String

page
optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
optional

Number of results per page to return, 'all' to return all results

Validations:

  • Must match regular expression /\A([1-9]\d*|all)\Z$/.


GET /api/v2/scc_accounts/:id
Show scc_account

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.

organization_id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..


POST /api/v2/scc_accounts
Create an scc_account

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

scc_account
required

Validations:

  • Hash

scc_account[organization_id]
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

scc_account[name]
required

Name of the scc_account

Validations:

  • String

scc_account[login]
required

Login id of scc_account

Validations:

  • String

scc_account[password]
required

Password of scc_account

Validations:

  • String

scc_account[base_url]
optional , nil allowed

URL of SUSE for scc_account

Validations:

  • String

scc_account[interval]
optional , nil allowed

Interval for syncing scc_account

Validations:

  • Must be one of: never, daily, weekly, monthy.

scc_account[sync_date]
optional , nil allowed

Date and time relative to which the sync interval is run

Validations:

  • String

scc_account[katello_gpg_key_id]
optional , nil allowed

Associated GPG key of scc_account

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..


PUT /api/v2/scc_accounts/:id
Update scc_account

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.

scc_account
required

Validations:

  • Hash

scc_account[organization_id]
optional

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

scc_account[name]
optional

Name of the scc_account

Validations:

  • String

scc_account[login]
optional

Login id of scc_account

Validations:

  • String

scc_account[password]
optional

Password of scc_account

Validations:

  • String

scc_account[base_url]
optional , nil allowed

URL of SUSE for scc_account

Validations:

  • String

scc_account[interval]
optional , nil allowed

Interval for syncing scc_account

Validations:

  • Must be one of: never, daily, weekly, monthy.

scc_account[sync_date]
optional , nil allowed

Date and time relative to which the sync interval is run

Validations:

  • String

scc_account[katello_gpg_key_id]
optional , nil allowed

Associated GPG key of scc_account

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..


DELETE /api/v2/scc_accounts/:id
Delete scc_account

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/v2/scc_accounts/test_connection
Test connection for scc_account

PUT /api/v2/scc_accounts/:id/test_connection
Test connection for scc_account

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

id
optional

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.

login
optional

Login id of scc_account

Validations:

  • String

password
optional

Password of scc_account

Validations:

  • String

base_url
optional

URL of SUSE for scc_account

Validations:

  • String


PUT /api/v2/scc_accounts/:id/sync
Sync scc_account

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.


PUT /api/v2/scc_accounts/:id/bulk_subscribe
Bulk subscription of scc_products for scc_account

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.

scc_subscribe_product_ids
required

Validations:

  • Must be an array of any type