Remove-R1SchemaRelationship

SYNOPSIS

Deletes a relationship from a schema.

SYNTAX

Remove-R1SchemaRelationship [-schemaName] <String> [-relationshipId] <String> [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

Deletes the named relationship from the schema.

EXAMPLES

Example 1

Remove-R1SchemaRelationship -schemaName 'default' -relationshipId 'rel1'

Deletes the rel1 relationship, after prompting for confirmation.

PARAMETERS

-schemaName

The name of the schema.

Type: String
Parameter Sets: (All)
Aliases: name

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-relationshipId

The identifier of the relationship.

Type: String
Parameter Sets: (All)
Aliases: id

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Void

NOTES

This command has not been exercised against a live deployment, so its behaviour rests on the published API definition alone.

Get-R1SchemaRelationship