A valid authentication token
for an administrative user.
Lists users.
<?xml version="1.0" encoding="UTF-8"?>
<users xmlns="http://docs.openstack.org/identity/api/v2.0">
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" email="john.smith@example.org"
name="jqsmith" id="u1000"/>
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" email="john.smith@example.org"
name="jqsmith" id="u1001"/>
</users>
{
"users": [
{
"id": "u1000",
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true
},
{
"id": "u1001",
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true
}
],
"users_links": []
}
Adds a user.
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
xmlns:OS-KSADM="http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0"
enabled="true" email="john.smith@example.org"
name="jqsmith"
OS-KSADM:password="secretsecret"/>
The user name.
{
"user": {
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true,
"OS-KSADM:password": "secretsecret"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" email="john.smith@example.org"
name="jqsmith" id="u1000"/>
{
"user": {
"id": "u1000",
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true
}
}
A valid authentication token
for an administrative user.
The ID of the user for
which you want to perform the
request.
Updates a user.
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" email="john.smith@example.org"
name="jqsmith" id="u1000"/>
{
"user": {
"id": "u1000",
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true
}
}
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" email="john.smith@example.org"
name="jqsmith" id="u1000"/>
{
"user": {
"id": "u1000",
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true
}
}
Deletes a user.
A valid authentication token
for an administrative user.
The ID of the user for
which you want to perform the
request.
The service
ID.
The ID of the last
item in the previous
list.
The page
size.
Lists global roles for a specified
user.
{
"roles": [
{
"id": "8341d3603a1d4d5985bff09f10704d4d",
"name": "service"
},
{
"id": "2e66d57df76946fdbe034bc4da6fdec0",
"name": "admin"
}
]
}
<?xml version="1.0" encoding="UTF-8"?>
<roles xmlns="http://docs.openstack.org/identity/api/v2.0">
<role id="8341d3603a1d4d5985bff09f10704d4d" name="service"/>
<role id="2e66d57df76946fdbe034bc4da6fdec0" name="admin"/>
</roles>
A valid authentication token
for an administrative user.
The ID of the user for
which you want to perform the
request.
The ID of the
role that you want to add or
delete.
Adds a specific global role to a
user.
Deletes a specific global role from
a user.
A valid authentication token
for an administrative user.
Creates a tenant.
<?xml version="1.0" encoding="UTF-8"?>
<tenant xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" name="ACME Corp">
<description>A description...</description>
</tenant>
{
"tenant": {
"name": "ACME corp",
"description": "A description ...",
"enabled": true
}
}
<?xml version="1.0" encoding="UTF-8"?>
<tenant xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" id="1234" name="ACME Corp">
<description>A description...</description>
</tenant>
{
"tenant": {
"id": "1234",
"name": "ACME corp",
"description": "A description ...",
"enabled": true
}
}
A valid authentication token
for an administrative user.
The tenant
ID.
Updates a tenant.
<?xml version="1.0" encoding="UTF-8"?>
<tenant xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" id="1234" name="ACME Corp">
<description>A description...</description>
</tenant>
{
"tenant": {
"id": "1234",
"name": "ACME corp",
"description": "A description ...",
"enabled": true
}
}
<?xml version="1.0" encoding="UTF-8"?>
<tenant xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" id="1234" name="ACME Corp">
<description>A description...</description>
</tenant>
{
"tenant": {
"id": "1234",
"name": "ACME corp",
"description": "A description ...",
"enabled": true
}
}
Deletes a tenant.
A valid authentication token
for an administrative user.
The tenant
ID.
The ID of the last
item in the previous
list.
The page size.
Lists all users for a
tenant.
<?xml version="1.0" encoding="UTF-8"?>
<users xmlns="http://docs.openstack.org/identity/api/v2.0">
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" email="john.smith@example.org"
name="jqsmith" id="u1000"/>
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" email="john.smith@example.org"
name="jqsmith" id="u1001"/>
</users>
{
"users": [
{
"id": "u1000",
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true
},
{
"id": "u1001",
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true
}
],
"users_links": []
}
A valid authentication token
for an administrative user.
The tenant
ID.
The user
ID.
The role
ID.
Adds a specified role to a user for
a tenant.
Deletes a specified role from a
user on a tenant.
A valid authentication token
for an administrative user.
Gets a role by name.
<?xml version="1.0" encoding="UTF-8"?>
<role xmlns="http://docs.openstack.org/identity/api/v2.0"
id="123" name="Admin" description="All Access" />
{
"role": {
"id": "123",
"name": "Guest",
"description": "Guest Access"
}
}
The role
ID.
The role
name.
The role
description.
The location.
Adds a role.
<?xml version="1.0" encoding="UTF-8"?>
<role xmlns="http://docs.openstack.org/identity/api/v2.0"
id="123" name="Admin" description="All Access" />
{
"role": {
"id": "123",
"name": "Guest",
"description": "Guest Access"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<role xmlns="http://docs.openstack.org/identity/api/v2.0"
id="123" name="Admin" description="All Access" />
{
"role": {
"id": "123",
"name": "Guest",
"description": "Guest Access"
}
}
The location.
A valid authentication token
for an administrative user.
Lists roles.
<?xml version="1.0" encoding="UTF-8"?>
<roles xmlns="http://docs.openstack.org/identity/api/v2.0">
<role id="123" name="Admin" description="All Access" />
<role id="234" name="Guest" description="Guest Access" />
</roles>
{
"roles": [
{
"id": "123",
"name": "compute:admin",
"description": "Nova Administrator"
}
],
"roles_links": []
}
Role
object.
The role
ID.
The role
name.
The role
description.
Role
links.
A valid authentication token
for an administrative user.
The role
ID.
Gets information for a specified
role.
<?xml version="1.0" encoding="UTF-8"?>
<role xmlns="http://docs.openstack.org/identity/api/v2.0"
id="123" name="Admin" description="All Access" />
{
"role": {
"id": "123",
"name": "Guest",
"description": "Guest Access"
}
}
The role
ID.
The role
name.
The role
description.
The location.
Deletes a role.
A valid authentication token
for an administrative user.
The ID of the last
item in the previous
list.
The page size.
Lists services.
<?xml version="1.0" encoding="UTF-8"?>
<services
xmlns="http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0">
<service id="123" name="nova" type="compute"
description="OpenStack Compute Service"/>
<service id="234" name="glance" type="image"
description="OpenStack Image Service"/>
</services>
{
"OS-KSADM:services": [
{
"id": "123",
"name": "nova",
"type": "compute",
"description": "OpenStack Compute Service"
},
{
"id": "234",
"name": "glance",
"type": "image",
"description": "OpenStack Image Service"
}
],
"OS-KSADM:services_links": []
}
Adds a service.
<?xml version="1.0" encoding="UTF-8"?>
<service
xmlns="http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0"
id="123" name="nova" type="compute"
description="OpenStack Compute Service"/>
{
"OS-KSADM:service": {
"id": "123",
"name": "nova",
"type": "compute",
"description": "OpenStack Compute Service"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<service
xmlns="http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0"
id="123" name="nova" type="compute"
description="OpenStack Compute Service"/>
{
"OS-KSADM:service": {
"id": "123",
"name": "nova",
"type": "compute",
"description": "OpenStack Compute Service"
}
}
The location.
A valid authentication token
for an administrative user.
The service
name.
Gets a service by name.
<?xml version="1.0" encoding="UTF-8"?>
<service
xmlns="http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0"
id="123" name="nova" type="compute"
description="OpenStack Compute Service"/>
{
"OS-KSADM:service": {
"id": "123",
"name": "nova",
"type": "compute",
"description": "OpenStack Compute Service"
}
}
A valid authentication token
for an administrative user.
The service
ID.
Gets a service.
<?xml version="1.0" encoding="UTF-8"?>
<service
xmlns="http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0"
id="123" name="nova" type="compute"
description="OpenStack Compute Service"/>
{
"OS-KSADM:service": {
"id": "123",
"name": "nova",
"type": "compute",
"description": "OpenStack Compute Service"
}
}
Deletes a service.